mirror of
https://github.com/postgres/postgres.git
synced 2025-11-24 00:23:06 +03:00
Standardize use of REFRESH PUBLICATION in code and messages.
This patch replaces ALTER SUBSCRIPTION REFRESH with ALTER SUBSCRIPTION REFRESH PUBLICATION in comments and error messages to improve clarity and support future extensibility. The change aligns with upcoming addition REFRESH SEQUENCES for sequence synchronization. Author: vignesh C <vignesh21@gmail.com> Author: Hou Zhijie <houzj.fnst@fujitsu.com> Reviewed-by: shveta malik <shveta.malik@gmail.com> Reviewed-by: Dilip Kumar <dilipbalaut@gmail.com> Reviewed-by: Peter Smith <smithpb2250@gmail.com> Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com> Reviewed-by: Amit Kapila <amit.kapila16@gmail.com> Discussion: https://postgr.es/m/CAA4eK1LC+KJiAkSrpE_NwvNdidw9F2os7GERUeSxSKv71gXysQ@mail.gmail.com
This commit is contained in:
@@ -10987,7 +10987,7 @@ AlterSubscriptionStmt:
|
||||
AlterSubscriptionStmt *n =
|
||||
makeNode(AlterSubscriptionStmt);
|
||||
|
||||
n->kind = ALTER_SUBSCRIPTION_REFRESH;
|
||||
n->kind = ALTER_SUBSCRIPTION_REFRESH_PUBLICATION;
|
||||
n->subname = $3;
|
||||
n->options = $6;
|
||||
$$ = (Node *) n;
|
||||
|
||||
Reference in New Issue
Block a user