Re: Server Crash in logical decoding if used inside --single mode

2019-03-06 Thread Alvaro Herrera
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/fla

Server Crash in logical decoding if used inside --single mode

2019-03-06 Thread tushar
Hi, Steps to reproduce on Master Sources - .) Perform initdb ( ./initdb -D data) .) set wal_level=logical in postgresql.conf file .)Connect to psql in single-user mode  ( ./postgres --single  -D data  postgres) .)Create logical replication slot followed by select * from pg_logical_slot_get