Re: Server crash with Master-Slave configuration. - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Server crash with Master-Slave configuration.
Date
Msg-id CA+TgmoaG6osCKjpSFN+P6DOdjwsW_0MpqCtio0kXA=5XMHqhgg@mail.gmail.com
Whole thread Raw
In response to Re: Server crash with Master-Slave configuration.  (Prabhat Sahu <prabhat.sahu@enterprisedb.com>)
List pgsql-hackers
On Wed, Dec 25, 2019 at 1:29 AM Prabhat Sahu <prabhat.sahu@enterprisedb.com> wrote:
Thanks Michael for pointing it out, I have re-tested the scenario 
with "--tablespace-mapping=OLDDIR=NEWDIR" option of pg_basebackup, and now its working fine.
But I think, instead of the crash, a proper error message would be better.  

It appears from the stack trace you sent that it emits a PANIC, which seems like a proper error message to me.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: use CLZ instruction in AllocSetFreeIndex()
Next
From: David Fetter
Date:
Subject: Allow WHEN in INSTEAD OF triggers