pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix the initial sync tables with no columns. 3+ messages / 1 participants [nested] [flat]
* pgsql: Fix the initial sync tables with no columns. @ 2023-11-22 06:25 Amit Kapila <akapila@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Amit Kapila @ 2023-11-22 06:25 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 ------ master Details ------- https://git.postgresql.org/pg/commitdiff/eeb0ebad79d9350305d9e111fbac76e20fa4b2fe 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(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Fix the initial sync tables with no columns. @ 2023-11-22 06:25 Amit Kapila <akapila@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Amit Kapila @ 2023-11-22 06:25 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Fix the initial sync tables with no columns. @ 2023-11-22 06:25 Amit Kapila <akapila@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Amit Kapila @ 2023-11-22 06:25 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/57aae65aee2626143055349954024b678c92bb11 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(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2023-11-22 06:25 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2023-11-22 06:25 pgsql: Fix the initial sync tables with no columns. Amit Kapila <akapila@postgresql.org> 2023-11-22 06:25 pgsql: Fix the initial sync tables with no columns. Amit Kapila <akapila@postgresql.org> 2023-11-22 06:25 pgsql: Fix the initial sync tables with no columns. Amit Kapila <akapila@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox