Re: Re: Is there possibility btree_redo with XLOG_BTREE_DELETE done between standby_redo and the end of backup

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: y39chen <yan-jack(dot)chen(at)nokia(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Re: Is there possibility btree_redo with XLOG_BTREE_DELETE done between standby_redo and the end of backup
Date: 2017-05-25 13:47:55
Message-ID: 15664.1495720075@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

y39chen <yan-jack(dot)chen(at)nokia(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jorge García 2017-05-25 15:53:16 ODBC and Kerberos authtentication
Previous Message Tom Lane 2017-05-25 13:30:38 Re: pg_dump 8.3.3 ERROR: invalid page header in block 2264419 of relation "pg_largeobject"