]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix comment in parsenodes.h
authorMichael Paquier <michael@paquier.xyz>
Wed, 31 Mar 2021 00:35:58 +0000 (09:35 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 31 Mar 2021 00:35:58 +0000 (09:35 +0900)
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

src/include/nodes/parsenodes.h

index 12e0e026dce178550a81a9236e98b82309804506..334262b1dd8dc9188c80643195156e7a14508764 100644 (file)
@@ -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 */