--On 20. August 2016 12:41:48 -0400 Tom Lane <t...@sss.pgh.pa.us> wrote:
> So at this point I'm pretty baffled as to what the actual use-case is
> here. I am tempted to say that a standalone backend should refuse to
> start at all if a recovery.conf file is present. If we do want to
> allow the case, we need some careful thought about what it should do.
Well, the "use case" was a crashed hot standby at a customer site (it kept
PANICing after restarting), where i decided to have a look through the
recovery process with gdb. The exact PANIC was
2016-03-29 15:12:40 CEST : [26-1] user=,db=,xid=0,vxid=1/0 FATAL:
unexpected GIN leaf action: 0
I had the idea that it was quick and dirty to use a single backend. I was
surprised that this time it PANIC'ed differently....
That said, i'm okay if --single is not intended to bring up a hot standby.
There are many other ways to debug such problems.
Sent via pgsql-hackers mailing list (firstname.lastname@example.org)
To make changes to your subscription: