mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-01 19:45:33 +08: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:
parent
b4da9d0e1e
commit
54e839fe29
110
src/backend/utils/cache/syscache.c
vendored
110
src/backend/utils/cache/syscache.c
vendored
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user