pgsql: Standardize use of REFRESH PUBLICATION in code and messages.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Standardize use of REFRESH PUBLICATION in code and messages.
Date: 2025-10-15 03:54:32
Message-ID: E1v8sau-001koL-0K@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)gmail(dot)com>
Author: Hou Zhijie <houzj(dot)fnst(at)fujitsu(dot)com>
Reviewed-by: shveta malik <shveta(dot)malik(at)gmail(dot)com>
Reviewed-by: Dilip Kumar <dilipbalaut(at)gmail(dot)com>
Reviewed-by: Peter Smith <smithpb2250(at)gmail(dot)com>
Reviewed-by: Hayato Kuroda <kuroda(dot)hayato(at)fujitsu(dot)com>
Reviewed-by: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAA4eK1LC+KJiAkSrpE_NwvNdidw9F2os7GERUeSxSKv71gXysQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2436b8c047fff793c9d115dd0acb48c0b6e114d9

Modified Files
--------------
src/backend/commands/subscriptioncmds.c | 51 ++++++++++++++--------------
src/backend/parser/gram.y | 2 +-
src/include/nodes/parsenodes.h | 2 +-
src/test/regress/expected/object_address.out | 2 +-
src/test/regress/expected/subscription.out | 28 +++++++--------
5 files changed, 43 insertions(+), 42 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-10-15 06:22:52 pgsql: plpython: Remove support for major version conflict detection
Previous Message Michael Paquier 2025-10-15 02:13:38 pgsql: pg_createsubscriber: Use new routine to retrieve data of PG_VERS