Re: BUG #19488: Standby connection fails after dropping on login event trigger enabled always
Alexander Korotkov <aekorotkov@gmail.com>
From: Alexander Korotkov <aekorotkov@gmail.com>
To: Ayush Tiwari <ayushtiwari.slg01@gmail.com>
Cc: Fujii Masao <masao.fujii@gmail.com>, kyzevan23@mail.ru, pgsql-bugs@lists.postgresql.org
Date: 2026-05-25T08:53:57Z
Lists: pgsql-bugs
On Thu, May 21, 2026 at 2:48 PM Ayush Tiwari <ayushtiwari.slg01@gmail.com> wrote: > On Thu, 21 May 2026 at 17:01, Alexander Korotkov <aekorotkov@gmail.com> wrote: >> >> >> I suggest another approach. Create a separate test database and apply >> event trigger on it. wait_for_catchup() and others use 'postgres' >> database and wouldn't touch our test database. >> I also added check for successful clearance of the flag on both >> primary and standby. One issue spotted there: in-place heap update >> doesn't issue a WAL flush. But I think that's minor, WAL could be >> flushed by any subsequent operation. > > > I agree the approach you are suggesting is better. > > Patch looks good to me! Thank you. I'm going to push and backpatch it if no objections. ------ Regards, Alexander Korotkov Supabase
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Skip pg_database.dathasloginevt cleanup on standby
- 4a375527a195 17 (unreleased) landed
- 97b5c5aaad5d 18 (unreleased) landed
- bec61f59354e 19 (unreleased) landed