1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-12 21:01:52 +03:00

Sort syscache identifiers into alphabetical order.

Not much point in having a convention about this if we don't enforce it.

Mark Dilger

Discussion: https://postgr.es/m/7F67FBEF-C3B3-404E-8EC6-E02ACB15D894@gmail.com
This commit is contained in:
Tom Lane
2017-05-30 18:47:10 -04:00
parent b4da9d0e1e
commit 54e839fe29
2 changed files with 60 additions and 60 deletions

View File

@ -606,6 +606,50 @@ static const struct cachedesc cacheinfo[] = {
}, },
128 128
}, },
{PublicationRelationId, /* PUBLICATIONNAME */
PublicationNameIndexId,
1,
{
Anum_pg_publication_pubname,
0,
0,
0
},
8
},
{PublicationRelationId, /* PUBLICATIONOID */
PublicationObjectIndexId,
1,
{
ObjectIdAttributeNumber,
0,
0,
0
},
8
},
{PublicationRelRelationId, /* PUBLICATIONREL */
PublicationRelObjectIndexId,
1,
{
ObjectIdAttributeNumber,
0,
0,
0
},
64
},
{PublicationRelRelationId, /* PUBLICATIONRELMAP */
PublicationRelPrrelidPrpubidIndexId,
2,
{
Anum_pg_publication_rel_prrelid,
Anum_pg_publication_rel_prpubid,
0,
0
},
64
},
{RangeRelationId, /* RANGETYPE */ {RangeRelationId, /* RANGETYPE */
RangeTypidIndexId, RangeTypidIndexId,
1, 1,
@ -661,50 +705,6 @@ static const struct cachedesc cacheinfo[] = {
}, },
16 16
}, },
{PublicationRelationId, /* PUBLICATIONOID */
PublicationObjectIndexId,
1,
{
ObjectIdAttributeNumber,
0,
0,
0
},
8
},
{PublicationRelationId, /* PUBLICATIONNAME */
PublicationNameIndexId,
1,
{
Anum_pg_publication_pubname,
0,
0,
0
},
8
},
{PublicationRelRelationId, /* PUBLICATIONREL */
PublicationRelObjectIndexId,
1,
{
ObjectIdAttributeNumber,
0,
0,
0
},
64
},
{PublicationRelRelationId, /* PUBLICATIONRELMAP */
PublicationRelPrrelidPrpubidIndexId,
2,
{
Anum_pg_publication_rel_prrelid,
Anum_pg_publication_rel_prpubid,
0,
0
},
64
},
{RewriteRelationId, /* RULERELNAME */ {RewriteRelationId, /* RULERELNAME */
RewriteRelRulenameIndexId, RewriteRelRulenameIndexId,
2, 2,
@ -760,17 +760,6 @@ static const struct cachedesc cacheinfo[] = {
}, },
128 128
}, },
{SubscriptionRelationId, /* SUBSCRIPTIONOID */
SubscriptionObjectIndexId,
1,
{
ObjectIdAttributeNumber,
0,
0,
0
},
4
},
{SubscriptionRelationId, /* SUBSCRIPTIONNAME */ {SubscriptionRelationId, /* SUBSCRIPTIONNAME */
SubscriptionNameIndexId, SubscriptionNameIndexId,
2, 2,
@ -782,6 +771,17 @@ static const struct cachedesc cacheinfo[] = {
}, },
4 4
}, },
{SubscriptionRelationId, /* SUBSCRIPTIONOID */
SubscriptionObjectIndexId,
1,
{
ObjectIdAttributeNumber,
0,
0,
0
},
4
},
{SubscriptionRelRelationId, /* SUBSCRIPTIONRELMAP */ {SubscriptionRelRelationId, /* SUBSCRIPTIONRELMAP */
SubscriptionRelSrrelidSrsubidIndexId, SubscriptionRelSrrelidSrsubidIndexId,
2, 2,

View File

@ -75,22 +75,22 @@ enum SysCacheIdentifier
PARTRELID, PARTRELID,
PROCNAMEARGSNSP, PROCNAMEARGSNSP,
PROCOID, PROCOID,
PUBLICATIONNAME,
PUBLICATIONOID,
PUBLICATIONREL,
PUBLICATIONRELMAP,
RANGETYPE, RANGETYPE,
RELNAMENSP, RELNAMENSP,
RELOID, RELOID,
REPLORIGIDENT, REPLORIGIDENT,
REPLORIGNAME, REPLORIGNAME,
PUBLICATIONOID,
PUBLICATIONNAME,
PUBLICATIONREL,
PUBLICATIONRELMAP,
RULERELNAME, RULERELNAME,
SEQRELID, SEQRELID,
STATEXTNAMENSP, STATEXTNAMENSP,
STATEXTOID, STATEXTOID,
STATRELATTINH, STATRELATTINH,
SUBSCRIPTIONOID,
SUBSCRIPTIONNAME, SUBSCRIPTIONNAME,
SUBSCRIPTIONOID,
SUBSCRIPTIONRELMAP, SUBSCRIPTIONRELMAP,
TABLESPACEOID, TABLESPACEOID,
TRFOID, TRFOID,