aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-03-31 09:35:58 +0900
committerMichael Paquier <michael@paquier.xyz>2021-03-31 09:35:58 +0900
commit7ef64e7e72a65f191fc2f7d4bbe220f53dd8d5de (patch)
tree3e0d225f18b0691d0151b294a76c634d0e43769b
parent6568cef26e0f40c25ae54b8e20aad8d1410a854b (diff)
downloadpostgresql-7ef64e7e72a65f191fc2f7d4bbe220f53dd8d5de.tar.gz
postgresql-7ef64e7e72a65f191fc2f7d4bbe220f53dd8d5de.zip
Fix comment in parsenodes.h
CreateStmt->inhRelations is a list of RangeVars, but a comment was incorrect about that. Author: Julien Rouhaud Discussion: https://postgr.es/m/20210330123015.yzekhz5sweqbgxdr@nol
-rw-r--r--src/include/nodes/parsenodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h
index 12e0e026dce..334262b1dd8 100644
--- a/src/include/nodes/parsenodes.h
+++ b/src/include/nodes/parsenodes.h
@@ -2131,7 +2131,7 @@ typedef struct CreateStmt
RangeVar *relation; /* relation to create */
List *tableElts; /* column definitions (list of ColumnDef) */
List *inhRelations; /* relations to inherit from (list of
- * inhRelation) */
+ * RangeVar) */
PartitionBoundSpec *partbound; /* FOR VALUES clause */
PartitionSpec *partspec; /* PARTITION BY clause */
TypeName *ofTypename; /* OF typename */