Commit 54e839fe authored by Tom Lane's avatar Tom Lane

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
parent b4da9d0e
...@@ -606,30 +606,30 @@ static const struct cachedesc cacheinfo[] = { ...@@ -606,30 +606,30 @@ static const struct cachedesc cacheinfo[] = {
}, },
128 128
}, },
{RangeRelationId, /* RANGETYPE */ {PublicationRelationId, /* PUBLICATIONNAME */
RangeTypidIndexId, PublicationNameIndexId,
1, 1,
{ {
Anum_pg_range_rngtypid, Anum_pg_publication_pubname,
0, 0,
0, 0,
0 0
}, },
4 8
}, },
{RelationRelationId, /* RELNAMENSP */ {PublicationRelationId, /* PUBLICATIONOID */
ClassNameNspIndexId, PublicationObjectIndexId,
2, 1,
{ {
Anum_pg_class_relname, ObjectIdAttributeNumber,
Anum_pg_class_relnamespace, 0,
0, 0,
0 0
}, },
128 8
}, },
{RelationRelationId, /* RELOID */ {PublicationRelRelationId, /* PUBLICATIONREL */
ClassOidIndexId, PublicationRelObjectIndexId,
1, 1,
{ {
ObjectIdAttributeNumber, ObjectIdAttributeNumber,
...@@ -637,73 +637,73 @@ static const struct cachedesc cacheinfo[] = { ...@@ -637,73 +637,73 @@ static const struct cachedesc cacheinfo[] = {
0, 0,
0 0
}, },
128 64
}, },
{ReplicationOriginRelationId, /* REPLORIGIDENT */ {PublicationRelRelationId, /* PUBLICATIONRELMAP */
ReplicationOriginIdentIndex, PublicationRelPrrelidPrpubidIndexId,
1, 2,
{ {
Anum_pg_replication_origin_roident, Anum_pg_publication_rel_prrelid,
0, Anum_pg_publication_rel_prpubid,
0, 0,
0 0
}, },
16 64
}, },
{ReplicationOriginRelationId, /* REPLORIGNAME */ {RangeRelationId, /* RANGETYPE */
ReplicationOriginNameIndex, RangeTypidIndexId,
1, 1,
{ {
Anum_pg_replication_origin_roname, Anum_pg_range_rngtypid,
0, 0,
0, 0,
0 0
}, },
16 4
}, },
{PublicationRelationId, /* PUBLICATIONOID */ {RelationRelationId, /* RELNAMENSP */
PublicationObjectIndexId, ClassNameNspIndexId,
1, 2,
{ {
ObjectIdAttributeNumber, Anum_pg_class_relname,
0, Anum_pg_class_relnamespace,
0, 0,
0 0
}, },
8 128
}, },
{PublicationRelationId, /* PUBLICATIONNAME */ {RelationRelationId, /* RELOID */
PublicationNameIndexId, ClassOidIndexId,
1, 1,
{ {
Anum_pg_publication_pubname, ObjectIdAttributeNumber,
0, 0,
0, 0,
0 0
}, },
8 128
}, },
{PublicationRelRelationId, /* PUBLICATIONREL */ {ReplicationOriginRelationId, /* REPLORIGIDENT */
PublicationRelObjectIndexId, ReplicationOriginIdentIndex,
1, 1,
{ {
ObjectIdAttributeNumber, Anum_pg_replication_origin_roident,
0, 0,
0, 0,
0 0
}, },
64 16
}, },
{PublicationRelRelationId, /* PUBLICATIONRELMAP */ {ReplicationOriginRelationId, /* REPLORIGNAME */
PublicationRelPrrelidPrpubidIndexId, ReplicationOriginNameIndex,
2, 1,
{ {
Anum_pg_publication_rel_prrelid, Anum_pg_replication_origin_roname,
Anum_pg_publication_rel_prpubid, 0,
0, 0,
0 0
}, },
64 16
}, },
{RewriteRelationId, /* RULERELNAME */ {RewriteRelationId, /* RULERELNAME */
RewriteRelRulenameIndexId, RewriteRelRulenameIndexId,
...@@ -760,23 +760,23 @@ static const struct cachedesc cacheinfo[] = { ...@@ -760,23 +760,23 @@ static const struct cachedesc cacheinfo[] = {
}, },
128 128
}, },
{SubscriptionRelationId, /* SUBSCRIPTIONOID */ {SubscriptionRelationId, /* SUBSCRIPTIONNAME */
SubscriptionObjectIndexId, SubscriptionNameIndexId,
1, 2,
{ {
ObjectIdAttributeNumber, Anum_pg_subscription_subdbid,
0, Anum_pg_subscription_subname,
0, 0,
0 0
}, },
4 4
}, },
{SubscriptionRelationId, /* SUBSCRIPTIONNAME */ {SubscriptionRelationId, /* SUBSCRIPTIONOID */
SubscriptionNameIndexId, SubscriptionObjectIndexId,
2, 1,
{ {
Anum_pg_subscription_subdbid, ObjectIdAttributeNumber,
Anum_pg_subscription_subname, 0,
0, 0,
0 0
}, },
......
...@@ -75,22 +75,22 @@ enum SysCacheIdentifier ...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment