Re: [GENERAL] Re: Is there possibility btree_redo with XLOG_BTREE_DELETE done between standby_redo and the end of backup - Mailing list pgsql-general

From Tom Lane
Subject Re: [GENERAL] Re: Is there possibility btree_redo with XLOG_BTREE_DELETE done between standby_redo and the end of backup
Date
Msg-id 15664.1495720075@sss.pgh.pa.us
Whole thread Raw
In response to [GENERAL] Re: Is there possibility btree_redo with XLOG_BTREE_DELETE donebetween standby_redo and the end of backup  (y39chen <yan-jack.chen@nokia.com>)
Responses [GENERAL] Re: Is there possibility btree_redo with XLOG_BTREE_DELETE donebetween standby_redo and the end of backup  (y39chen <yan-jack.chen@nokia.com>)
List pgsql-general
y39chen <yan-jack.chen@nokia.com> writes:
> We found the panic happened when adding one of our patch.

>     switch (port->canAcceptConnections)
>     {
>         case CAC_STARTUP:
>             ereport(*LOG*,
>                     (errcode(ERRCODE_CANNOT_CONNECT_NOW),
>                      errmsg("the database system is starting up")));
>             break;

Did you not absorb the advice given in

https://www.postgresql.org/message-id/23381.1494607092@sss.pgh.pa.us

?  The above patch is simply an impossibly bad idea.  Don't do it.

            regards, tom lane


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] pg_dump 8.3.3 ERROR: invalid page header in block 2264419 of relation "pg_largeobject"
Next
From: Jorge García
Date:
Subject: [GENERAL] ODBC and Kerberos authtentication