pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Jason Turim <jason@signalvine.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14250: Error in subquery fails silently and parent query continues to execute
Date: Thu, 14 Jul 2016 18:57:04 -0400
Message-ID: <20160714225704.GA29609@alvherre.pgsql> (raw)
In-Reply-To: <CAKFQuwatx-Q5_7MHg8Gp2i+dXF4o_sC5LJG6V8eSxLG-ncoDMQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

David G. Johnston wrote:
> On Thu, Jul 14, 2016 at 6:40 PM, Jason Turim <jason@signalvine.com> wrote:
> 
> > I see, thanks.  Have you all considered making it an error to execute
> > correlated queries without table qualifying the column names?
> >
> ​Will never happen.  I'm not even sure it would be desirable in a
> greenfield situation let alone in an established product.

The problem is that this is defined by the SQL standard, so we're not at
liberty to change it.  The opinion of several people is that it would be
safer to require the qualification.  If this were a green field I'm sure
we'd do it differently.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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



view thread (8+ messages)  latest in thread

Message-ID: <20160714225704.GA29609@alvherre.pgsql>
Permalink:  ../20160714225704.GA29609@alvherre.pgsql/
Also on:    postgresql.org/message-id/20160714225704.GA29609@alvherre.pgsql

 · 

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 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-bugs@postgresql.org
  Cc: alvherre@2ndquadrant.com, david.g.johnston@gmail.com, jason@signalvine.com
  Subject: Re: BUG #14250: Error in subquery fails silently and parent query continues to execute
  In-Reply-To: <20160714225704.GA29609@alvherre.pgsql>
  References: <CAKFQuwatx-Q5_7MHg8Gp2i+dXF4o_sC5LJG6V8eSxLG-ncoDMQ@mail.gmail.com> <20160714225704.GA29609@alvherre.pgsql>

* 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