Standardize use of REFRESH PUBLICATION in code and messages.
authorAmit Kapila <akapila@postgresql.org>
Wed, 15 Oct 2025 03:42:27 +0000 (03:42 +0000)
committerAmit Kapila <akapila@postgresql.org>
Wed, 15 Oct 2025 03:42:27 +0000 (03:42 +0000)
commit2436b8c047fff793c9d115dd0acb48c0b6e114d9
tree9dc1dba72933623f6cc3d123e4d90899284e36b2
parentfa55be2a506a77772cab1d62430cc2217413f9ec
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
src/backend/commands/subscriptioncmds.c
src/backend/parser/gram.y
src/include/nodes/parsenodes.h
src/test/regress/expected/object_address.out
src/test/regress/expected/subscription.out