y39chen <yan-jack.c...@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.1494607...@sss.pgh.pa.us

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

                        regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to