Re: Logical Replication of sequences - Mailing list pgsql-hackers

From Shinya Kato
Subject Re: Logical Replication of sequences
Date
Msg-id CAOzEurQOSN=Zcp9uVnatNbAy=2WgMTJn_DYszYjv0KUeQX_e_A@mail.gmail.com
Whole thread Raw
In response to Re: Logical Replication of sequences  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: Logical Replication of sequences
List pgsql-hackers
On Wed, Nov 5, 2025 at 5:28 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
> I have pushed the 0001 after making minor adjustments in tests and at
> a few other places. Kindly rebase and send the remaining patches.

I discovered that the sequence sync worker fails for sequences
containing single quotes.
---
2025-11-06 10:22:50.335 JST [1096008] ERROR:  could not fetch sequence
information from the publisher: ERROR:  syntax error at or near
"quote"
        LINE 4: FROM ( VALUES ('public', 'regress'quote', 0), ('public', 'ho...
                                                  ^
2025-11-06 10:22:50.335 JST [1088168] LOG:  background worker "logical
replication sequencesync worker" (PID 1096008) exited with exit code 1
---

I haven't read all the threads, so I might be mistaken, but I've
created a patch.


--
Best regards,
Shinya Kato
NTT OSS Center

Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Use stack-allocated StringInfoData
Next
From: jian he
Date:
Subject: Re: Docs and tests for RLS policies applied by command type