aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/cache/syscache.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-05-30 18:47:10 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-05-30 18:47:13 -0400
commit54e839fe29c1d071f5129eb4a112546197ea0522 (patch)
tree857becd8c86f0397c085a43353c7683976063973 /src/backend/utils/cache/syscache.c
parentb4da9d0e1ee45a1d157dc7fd24b24745b16ebe9f (diff)
downloadpostgresql-54e839fe29c1d071f5129eb4a112546197ea0522.tar.gz
postgresql-54e839fe29c1d071f5129eb4a112546197ea0522.zip
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
Diffstat (limited to 'src/backend/utils/cache/syscache.c')
-rw-r--r--src/backend/utils/cache/syscache.c106
1 files changed, 53 insertions, 53 deletions
diff --git a/src/backend/utils/cache/syscache.c b/src/backend/utils/cache/syscache.c
index 922718c9d17..e66bb03ea57 100644
--- a/src/backend/utils/cache/syscache.c
+++ b/src/backend/utils/cache/syscache.c
@@ -606,30 +606,30 @@ static const struct cachedesc cacheinfo[] = {
},
128
},
- {RangeRelationId, /* RANGETYPE */
- RangeTypidIndexId,
+ {PublicationRelationId, /* PUBLICATIONNAME */
+ PublicationNameIndexId,
1,
{
- Anum_pg_range_rngtypid,
+ Anum_pg_publication_pubname,
0,
0,
0
},
- 4
+ 8
},
- {RelationRelationId, /* RELNAMENSP */
- ClassNameNspIndexId,
- 2,
+ {PublicationRelationId, /* PUBLICATIONOID */
+ PublicationObjectIndexId,
+ 1,
{
- Anum_pg_class_relname,
- Anum_pg_class_relnamespace,
+ ObjectIdAttributeNumber,
+ 0,
0,
0
},
- 128
+ 8
},
- {RelationRelationId, /* RELOID */
- ClassOidIndexId,
+ {PublicationRelRelationId, /* PUBLICATIONREL */
+ PublicationRelObjectIndexId,
1,
{
ObjectIdAttributeNumber,
@@ -637,73 +637,73 @@ static const struct cachedesc cacheinfo[] = {
0,
0
},
- 128
+ 64
},
- {ReplicationOriginRelationId, /* REPLORIGIDENT */
- ReplicationOriginIdentIndex,
- 1,
+ {PublicationRelRelationId, /* PUBLICATIONRELMAP */
+ PublicationRelPrrelidPrpubidIndexId,
+ 2,
{
- Anum_pg_replication_origin_roident,
- 0,
+ Anum_pg_publication_rel_prrelid,
+ Anum_pg_publication_rel_prpubid,
0,
0
},
- 16
+ 64
},
- {ReplicationOriginRelationId, /* REPLORIGNAME */
- ReplicationOriginNameIndex,
+ {RangeRelationId, /* RANGETYPE */
+ RangeTypidIndexId,
1,
{
- Anum_pg_replication_origin_roname,
+ Anum_pg_range_rngtypid,
0,
0,
0
},
- 16
+ 4
},
- {PublicationRelationId, /* PUBLICATIONOID */
- PublicationObjectIndexId,
- 1,
+ {RelationRelationId, /* RELNAMENSP */
+ ClassNameNspIndexId,
+ 2,
{
- ObjectIdAttributeNumber,
- 0,
+ Anum_pg_class_relname,
+ Anum_pg_class_relnamespace,
0,
0
},
- 8
+ 128
},
- {PublicationRelationId, /* PUBLICATIONNAME */
- PublicationNameIndexId,
+ {RelationRelationId, /* RELOID */
+ ClassOidIndexId,
1,
{
- Anum_pg_publication_pubname,
+ ObjectIdAttributeNumber,
0,
0,
0
},
- 8
+ 128
},
- {PublicationRelRelationId, /* PUBLICATIONREL */
- PublicationRelObjectIndexId,
+ {ReplicationOriginRelationId, /* REPLORIGIDENT */
+ ReplicationOriginIdentIndex,
1,
{
- ObjectIdAttributeNumber,
+ Anum_pg_replication_origin_roident,
0,
0,
0
},
- 64
+ 16
},
- {PublicationRelRelationId, /* PUBLICATIONRELMAP */
- PublicationRelPrrelidPrpubidIndexId,
- 2,
+ {ReplicationOriginRelationId, /* REPLORIGNAME */
+ ReplicationOriginNameIndex,
+ 1,
{
- Anum_pg_publication_rel_prrelid,
- Anum_pg_publication_rel_prpubid,
+ Anum_pg_replication_origin_roname,
+ 0,
0,
0
},
- 64
+ 16
},
{RewriteRelationId, /* RULERELNAME */
RewriteRelRulenameIndexId,
@@ -760,23 +760,23 @@ static const struct cachedesc cacheinfo[] = {
},
128
},
- {SubscriptionRelationId, /* SUBSCRIPTIONOID */
- SubscriptionObjectIndexId,
- 1,
+ {SubscriptionRelationId, /* SUBSCRIPTIONNAME */
+ SubscriptionNameIndexId,
+ 2,
{
- ObjectIdAttributeNumber,
- 0,
+ Anum_pg_subscription_subdbid,
+ Anum_pg_subscription_subname,
0,
0
},
4
},
- {SubscriptionRelationId, /* SUBSCRIPTIONNAME */
- SubscriptionNameIndexId,
- 2,
+ {SubscriptionRelationId, /* SUBSCRIPTIONOID */
+ SubscriptionObjectIndexId,
+ 1,
{
- Anum_pg_subscription_subdbid,
- Anum_pg_subscription_subname,
+ ObjectIdAttributeNumber,
+ 0,
0,
0
},