From: | Amit Kapila <akapila(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix the initial sync tables with no columns. |
Date: | 2023-11-22 06:25:09 |
Message-ID: | E1r5gfd-006eJ6-5c@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix the initial sync tables with no columns.
The copy command formed for initial sync was using parenthesis for tables
with no columns leading to syntax error. This patch avoids adding
parenthesis for such tables.
Reported-by: Justin G
Author: Vignesh C
Reviewed-by: Peter Smith, Amit Kapila
Backpatch-through: 15
Discussion: http://postgr.es/m/18203-df37fe354b626670@postgresql.org
Branch
------
REL_16_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/1b6da28e0668eb977dcab6987d192ddedf32b752
Modified Files
--------------
src/backend/replication/logical/tablesync.c | 28 ++++++++++++++++++----------
src/test/subscription/t/001_rep_changes.pl | 17 ++++++++++++++++-
2 files changed, 34 insertions(+), 11 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2023-11-22 21:40:33 | pgsql: doc: remove double-negative in REFRESH MATERIALIZED ... CONCURR |
Previous Message | Amit Kapila | 2023-11-22 03:16:05 | pgsql: Stop the search once the slot for replication origin is found. |