Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xdm1O-0004Cz-OF for pgsql-bugs@arkaria.postgresql.org; Mon, 13 Oct 2014 20:15:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xdm1N-0000Ur-UN for pgsql-bugs@arkaria.postgresql.org; Mon, 13 Oct 2014 20:15:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xdm1N-0000Uf-9t for pgsql-bugs@postgresql.org; Mon, 13 Oct 2014 20:15:09 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Xdm1J-0007b9-16 for pgsql-bugs@postgresql.org; Mon, 13 Oct 2014 20:15:08 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1Xdm1D-0003dX-Lg; Mon, 13 Oct 2014 16:14:59 -0400 Date: Mon, 13 Oct 2014 16:14:59 -0400 From: Bruce Momjian To: Tom Lane Cc: Andres Freund , Michael Paquier , Fujii Masao , TAKATSUKA Haruka , pgsql-bugs Subject: Re: BUG #11335: an invalid prepare statement causes crash at log_statement = 'mod' or 'ddl'. Message-ID: <20141013201459.GJ21267@momjian.us> References: <20140902111653.2936.35702@wrigleys.postgresql.org> <5731.1410035128@sss.pgh.pa.us> <20140906203410.GK26947@awork2.anarazel.de> <5427.1410991002@sss.pgh.pa.us> <20140917215857.GA26236@awork2.anarazel.de> <5537.1410999052@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5537.1410999052@sss.pgh.pa.us> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Wed, Sep 17, 2014 at 05:10:52PM -0700, Tom Lane wrote: > Andres Freund writes: > > On 2014-09-17 14:56:42 -0700, Tom Lane wrote: > >> Yeah, on second thought I have doubts about the throw-error approach too. > >> We've allowed this historically for a very long time, so I'm afraid we'd > >> get a lot of pushback if we change the external behavior now. > > > I have a hard time believing this. Are we really believing that there's > > a significant number of clients preparing whitespace? > > I don't know about "significant number", but the case is specifically > called out as legal in the FE/BE protocol spec, for example here: > > Therefore, an Execute phase is always terminated by the appearance of > exactly one of these messages: CommandComplete, EmptyQueryResponse > (if the portal was created from an empty query string), ErrorResponse, > or PortalSuspended. > > If we change it, that's a protocol break, and I don't think that being a > tad cleaner is sufficient argument for that. Where are we on this? -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs