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
},
{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 */
RangeTypidIndexId,
1,
@ -661,50 +705,6 @@ static const struct cachedesc cacheinfo[] = {
},
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 */
RewriteRelRulenameIndexId,
2,
@ -760,17 +760,6 @@ static const struct cachedesc cacheinfo[] = {
},
128
},
{SubscriptionRelationId, /* SUBSCRIPTIONOID */
SubscriptionObjectIndexId,
1,
{
ObjectIdAttributeNumber,
0,
0,
0
},
4
},
{SubscriptionRelationId, /* SUBSCRIPTIONNAME */
SubscriptionNameIndexId,
2,
@ -782,6 +771,17 @@ static const struct cachedesc cacheinfo[] = {
},
4
},
{SubscriptionRelationId, /* SUBSCRIPTIONOID */
SubscriptionObjectIndexId,
1,
{
ObjectIdAttributeNumber,
0,
0,
0
},
4
},
{SubscriptionRelRelationId, /* SUBSCRIPTIONRELMAP */
SubscriptionRelSrrelidSrsubidIndexId,
2,

View File

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