Skip to content

Commit fbe0232

Browse files
committed
Improve comments in utils/rel.h.
Mark the fields that should be accessed via partitioning-related functions, as we already did for some other fields. Amit Langote Discussion: https://postgr.es/m/CA+HiwqFnK6LbVMACMCaqwWrvoSFTecZzufKRahg2qGvLPYMX=g@mail.gmail.com
1 parent b541e9a commit fbe0232

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/include/utils/rel.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,15 @@ typedef struct RelationData
9595
List *rd_fkeylist; /* list of ForeignKeyCacheInfo (see below) */
9696
bool rd_fkeyvalid; /* true if list has been computed */
9797

98+
/* data managed by RelationGetPartitionKey: */
9899
PartitionKey rd_partkey; /* partition key, or NULL */
99100
MemoryContext rd_partkeycxt; /* private context for rd_partkey, if any */
101+
102+
/* data managed by RelationGetPartitionDesc: */
100103
PartitionDesc rd_partdesc; /* partition descriptor, or NULL */
101104
MemoryContext rd_pdcxt; /* private context for rd_partdesc, if any */
105+
106+
/* data managed by RelationGetPartitionQual: */
102107
List *rd_partcheck; /* partition CHECK quals */
103108
bool rd_partcheckvalid; /* true if list has been computed */
104109
MemoryContext rd_partcheckcxt; /* private cxt for rd_partcheck, if any */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy