postgres.git / summary / log / commit / refs

commit    7ef64e7e72a65f191fc2f7d4bbe220f53dd8d5de
Author:   Michael Paquier <michael@paquier.xyz>
Date:     Wed Mar 31 00:35:58 2021 +0000
First released in: 14.0

    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


src/include/nodes/parsenodes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ [parent: 6568cef26e0f]