pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: y39chen <yan-jack.chen@nokia.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Re: Is there possibility btree_redo with XLOG_BTREE_DELETE done between standby_redo and the end of backup
Date: Thu, 25 May 2017 09:47:55 -0400
Message-ID: <15664.1495720075@sss.pgh.pa.us> (raw)
In-Reply-To: <1495704189413-5963181.post@n3.nabble.com>
References: <1495609157661-5963011.post@n3.nabble.com>
	<2253.1495639128@sss.pgh.pa.us>
	<CAB7nPqRLBA9vxT+o2_JOThKzHGbGpmZyTbJBRR1jW5QKq+NeYQ@mail.gmail.com>
	<2353.1495640833@sss.pgh.pa.us>
	<CAB7nPqT3S_wG3J3GXeaXDgeS1sdwgz52F=Ze+uBbrWX89EO4wQ@mail.gmail.com>
	<1495704189413-5963181.post@n3.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


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



view thread (9+ messages)  latest in thread

Message-ID: <15664.1495720075@sss.pgh.pa.us>
Permalink:  ../15664.1495720075@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15664.1495720075@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, yan-jack.chen@nokia.com
  Subject: Re: Re: Is there possibility btree_redo with XLOG_BTREE_DELETE done between standby_redo and the end of backup
  In-Reply-To: <15664.1495720075@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox