@@ -414,15 +414,13 @@ static Node *makeRecursiveViewSelect(char *relname, List *aliases, Node *query);
414
414
relation_expr_list dostmt_opt_list
415
415
transform_element_list transform_type_list
416
416
TriggerTransitions TriggerReferencing
417
- publication_name_list
418
417
vacuum_relation_list opt_vacuum_relation_list
419
418
drop_option_list
420
419
421
420
%type <list> group_by_list
422
421
%type <node> group_by_item empty_grouping_set rollup_clause cube_clause
423
422
%type <node> grouping_sets_clause
424
423
%type <node> opt_publication_for_tables publication_for_tables
425
- %type <value> publication_name_item
426
424
427
425
%type <list> opt_fdw_options fdw_options
428
426
%type <defelt> fdw_option
@@ -9512,7 +9510,7 @@ AlterPublicationStmt:
9512
9510
*****************************************************************************/
9513
9511
9514
9512
CreateSubscriptionStmt :
9515
- CREATE SUBSCRIPTION name CONNECTION Sconst PUBLICATION publication_name_list opt_definition
9513
+ CREATE SUBSCRIPTION name CONNECTION Sconst PUBLICATION name_list opt_definition
9516
9514
{
9517
9515
CreateSubscriptionStmt *n =
9518
9516
makeNode (CreateSubscriptionStmt);
@@ -9524,20 +9522,6 @@ CreateSubscriptionStmt:
9524
9522
}
9525
9523
;
9526
9524
9527
- publication_name_list :
9528
- publication_name_item
9529
- {
9530
- $$ = list_make1($1 );
9531
- }
9532
- | publication_name_list ' ,' publication_name_item
9533
- {
9534
- $$ = lappend($1 , $3 );
9535
- }
9536
- ;
9537
-
9538
- publication_name_item :
9539
- ColLabel { $$ = makeString($1 ); };
9540
-
9541
9525
/* ****************************************************************************
9542
9526
*
9543
9527
* ALTER SUBSCRIPTION name ...
@@ -9572,7 +9556,7 @@ AlterSubscriptionStmt:
9572
9556
n->options = $6 ;
9573
9557
$$ = (Node *)n;
9574
9558
}
9575
- | ALTER SUBSCRIPTION name SET PUBLICATION publication_name_list opt_definition
9559
+ | ALTER SUBSCRIPTION name SET PUBLICATION name_list opt_definition
9576
9560
{
9577
9561
AlterSubscriptionStmt *n =
9578
9562
makeNode (AlterSubscriptionStmt);
0 commit comments