pgsql: Fix few issues in commit 5509055d69. - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: Fix few issues in commit 5509055d69.
Date
Msg-id E1vGvtZ-005Gcy-38@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix few issues in commit 5509055d69.

Test failure on buildfarm member prion:
The test failed due to an unexpected LOCATION: line appearing between the
WARNING and ERROR messages. This occurred because the prion machine uses
log_error_verbosity = verbose, which includes additional context in error
messages. The test was originally checking for both WARNING and ERROR
messages in sequence sync, but the extra LOCATION: line disrupted this
pattern. To make the test robust across different verbosity settings, it
now only checks for the presence of the WARNING message after the test,
which is sufficient to validate the intended behavior.

Failure to sync sequences with quoted names:
The previous implementation did not correctly quote sequence names when
querying remote information, leading to failures when quoted sequence
names were used. This fix ensures that sequence names are properly quoted
during remote queries, allowing sequences with quoted identifiers to be
synced correctly.

Author: Vignesh C <vignesh21@gmail.com>
Author: Shinya Kato <shinya11.kato@gmail.com>
Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Discussion: https://postgr.es/m/CALDaNm0WcdSCoNPiE-5ek4J2dMJ5o111GPTzKCYj9G5i=ONYtQ@mail.gmail.com
Discussion: https://postgr.es/m/CAOzEurQOSN=Zcp9uVnatNbAy=2WgMTJn_DYszYjv0KUeQX_e_A@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5a4eba558aa76c36ecf2aab7587b233c0e2003e2

Modified Files
--------------
src/backend/replication/logical/sequencesync.c | 11 +++++++++--
src/test/subscription/t/036_sequences.pl       | 14 ++++++++++++--
2 files changed, 21 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: ci: Improve OpenBSD core dump backtrace handling.
Next
From: John Naylor
Date:
Subject: pgsql: Cosmetic fixes in GiST README