Re: BUG #19500: pgrepack logical decoding plugin can crash assert builds via SQL decoding API
От
Srinath Reddy Sadipiralla
Тема
Re: BUG #19500: pgrepack logical decoding plugin can crash assert builds via SQL decoding API
Дата
Msg-id
CAFC+b6qY8Jr1OkRqRX0KOy6-yauGwKTrw-OhQooYgzpyCwhgTA@mail.gmail.com
Ответ на
Re: BUG #19500: pgrepack logical decoding plugin can crash assert builds via SQL decoding API (Antonin Houska)
Список
Дерево обсуждения
BUG #19500: pgrepack logical decoding plugin can crash assert builds via SQL decoding API PG Bug reporting form <noreply@postgresql.org>
Re: BUG #19500: pgrepack logical decoding plugin can crash assert builds via SQL decoding API Álvaro Herrera <alvherre@kurilemu.de>
Re: BUG #19500: pgrepack logical decoding plugin can crash assert builds via SQL decoding API Álvaro Herrera <alvherre@kurilemu.de>
Re: BUG #19500: pgrepack logical decoding plugin can crash assert builds via SQL decoding API Никита Калинин <n.kalinin@postgrespro.ru>
Re: BUG #19500: pgrepack logical decoding plugin can crash assert builds via SQL decoding API Álvaro Herrera <alvherre@kurilemu.de>
Re: BUG #19500: pgrepack logical decoding plugin can crash assert builds via SQL decoding API Srinath Reddy Sadipiralla <srinath2133@gmail.com>
Re: BUG #19500: pgrepack logical decoding plugin can crash assert builds via SQL decoding API Antonin Houska <ah@cybertec.at>
Re: BUG #19500: pgrepack logical decoding plugin can crash assert builds via SQL decoding API Alvaro Herrera <alvherre@kurilemu.de>
Re: BUG #19500: pgrepack logical decoding plugin can crash assert builds via SQL decoding API Antonin Houska <ah@cybertec.at>
Re: BUG #19500: pgrepack logical decoding plugin can crash assert builds via SQL decoding API Srinath Reddy Sadipiralla <srinath2133@gmail.com>
RE: BUG #19500: pgrepack logical decoding plugin can crash assert builds via SQL decoding API "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
Re: BUG #19500: pgrepack logical decoding plugin can crash assert builds via SQL decoding API Alvaro Herrera <alvherre@kurilemu.de>
Re: BUG #19500: pgrepack logical decoding plugin can crash assert builds via SQL decoding API Alvaro Herrera <alvherre@kurilemu.de>
Re: BUG #19500: pgrepack logical decoding plugin can crash assert builds via SQL decoding API Srinath Reddy Sadipiralla <srinath2133@gmail.com>
On Wed, Jun 3, 2026 at 1:00 PM Antonin Houska <ah@cybertec.at> wrote:
Srinath Reddy Sadipiralla <srinath2133@gmail.com> wrote:
> Could we reject the pgrepack plugin at slot creation instead, in
> pg_create_logical_replication_slot() and the CREATE_REPLICATION_SLOT
> command, so misuse gets a clear "reserved for REPACK (CONCURRENTLY)"
> error up front, before any decoding? REPACK creates its slot directly via
> ReplicationSlotCreate(), so it's unaffected, and the begin-callback check
> with magic guard can stay as the internal safety net.
> Happy to be told this isn't worth special-casing :)
Another possible approach: restrict the use of the plugin to the REPACK
decoding worker.
cool ... that's cleaner, incorporated these changes and added test
,errcode.
В списке pgsql-bugs по дате отправления
От: Antonin Houska
Дата:
От: Alvaro Herrera
Дата: