y39chen <[email protected]> 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/[email protected]

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

                        regards, tom lane


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

Reply via email to