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:
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
|
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,
|
||||||
|
@ -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,
|
||||||
|
Reference in New Issue
Block a user