Fix ALTER SUBSCRIPTION grammar ambiguity
Peter Eisentraut <peter_e@gmx.net>
Fix ALTER SUBSCRIPTION grammar ambiguity There was a grammar ambiguity between SET PUBLICATION name REFRESH and SET PUBLICATION SKIP REFRESH, because SKIP is not a reserved word. To resolve that, fold the refresh choice into the WITH options. Refreshing is the default now. Reported-by: tushar <tushar.ahuja@enterprisedb.com>
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/catalogs.sgml | modified | +1 −1 |
| doc/src/sgml/ref/alter_subscription.sgml | modified | +23 −12 |
| src/backend/commands/subscriptioncmds.c | modified | +25 −9 |
| src/backend/parser/gram.y | modified | +2 −12 |
| src/include/nodes/parsenodes.h | modified | +0 −1 |
| src/test/regress/expected/subscription.out | modified | +1 −1 |
| src/test/regress/sql/subscription.sql | modified | +1 −1 |
| src/test/subscription/t/001_rep_changes.pl | modified | +1 −1 |