From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Something is broken about connection startup
Date: Mon, 14 Nov 2016 10:26:32 -0500
Message-ID: <30195.1479137192@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+TgmoYUzSOz=kzFbgZZyaZ+R23CJ3MP5W7MnJ3=iv5SUv-28g@mail.gmail.com>
References: <16447.1478818294@sss.pgh.pa.us>
<23418.1478819074@sss.pgh.pa.us>
<12438.1478895332@sss.pgh.pa.us>
<CA+TgmoZP63ddrFFuHiaO5gVM57a9hQE4RjhTLC6E8W_muNzU7g@mail.gmail.com>
<29845.1479136671@sss.pgh.pa.us>
<CA+TgmoYUzSOz=kzFbgZZyaZ+R23CJ3MP5W7MnJ3=iv5SUv-28g@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Robert Haas <robertmhaas@gmail.com> writes:
> I assume you're going to back-patch this, and the consequences of
> failing to reset it before going idle could easily be vastly worse
> than the problem you're trying to fix. So I'd rather not make
> assumptions like "the client will probably never sleep between Bind
> and Execute". I bet that's actually false, and I certainly wouldn't
> want to bet the farm on it being true.
No, I'm not at all proposing to assume that. But I may be willing to
assume that "we don't hold a CatalogSnapshot between Bind and Execute
unless we're also holding a transaction snapshot". I need to do a bit
more research to see if that's actually true, though.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com
Subject: Re: Something is broken about connection startup
In-Reply-To: <30195.1479137192@sss.pgh.pa.us>
References: <16447.1478818294@sss.pgh.pa.us> <23418.1478819074@sss.pgh.pa.us> <12438.1478895332@sss.pgh.pa.us> <CA+TgmoZP63ddrFFuHiaO5gVM57a9hQE4RjhTLC6E8W_muNzU7g@mail.gmail.com> <29845.1479136671@sss.pgh.pa.us> <CA+TgmoYUzSOz=kzFbgZZyaZ+R23CJ3MP5W7MnJ3=iv5SUv-28g@mail.gmail.com> <30195.1479137192@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