| From: | Masahiko Sawada <msawada(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: pg_createsubscriber: Add log message when no publications exist |
| Date: | 2025-10-14 18:46:23 |
| Message-ID: | E1v8k2R-001hPz-3B@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
pg_createsubscriber: Add log message when no publications exist to drop.
When specifying --clean=publication to pg_createsubscriber, it drops
all existing publications with a log message "dropping all existing
publications in database "testdb"". Add a new log message "no
publications found" when there are no publications to drop, making the
progress more transparent to users.
Author: Peter Smith <smithpb2250(at)gmail(dot)com>
Reviewed-by: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAHut+Ptm+WJwbbYXhC0s6FP_98KzZCR=5CPu8F8N5uV8P7BpqA@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/74ac377d75135e02064fc4427bec401277b4f60c
Modified Files
--------------
src/bin/pg_basebackup/pg_createsubscriber.c | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Melanie Plageman | 2025-10-14 19:09:50 | pgsql: Add helper for freeze determination to heap_page_prune_and_freez |
| Previous Message | Jeff Davis | 2025-10-14 18:07:17 | pgsql: pg_regc_locale.c: rename some static functions. |