Re: Server Crash in logical decoding if used inside --single mode - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Server Crash in logical decoding if used inside --single mode
Date
Msg-id 20190306175106.GA15152@alvherre.pgsql
Whole thread Raw
In response to Server Crash in logical decoding if used inside --single mode  (tushar <tushar.ahuja@enterprisedb.com>)
List pgsql-hackers
On 2019-Mar-06, tushar wrote:

> backend> select * from pg_logical_slot_get_changes('m7',null,null);
 [...]
> TRAP: FailedAssertion("!(slot != ((void *)0) && slot->active_pid != 0)",
> File: "slot.c", Line: 428)
> Aborted (core dumped)

See argumentation in
https://www.postgresql.org/message-id/flat/3b2f809f-326c-38dd-7a9e-897f957a4eb1%40enterprisedb.com
-- essentially, we don't really care to support this case.

If you want to submit a patch to report an error before crashing, that's
fine, but don't ask for this functionality to actually work.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Online verification of checksums
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] Block level parallel vacuum