Re: Re: [PATCH] parser: optionally warn about missing AS for column and table aliases - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Re: [PATCH] parser: optionally warn about missing AS for column and table aliases
Date
Msg-id 20140905215405.GA26717@momjian.us
Whole thread Raw
In response to Re: [PATCH] parser: optionally warn about missing AS for column and table aliases  (David G Johnston <david.g.johnston@gmail.com>)
List pgsql-hackers
On Fri, Sep  5, 2014 at 02:33:00PM -0700, David G Johnston wrote:
> This at least avoids having to introduce 10 different GUC just to
> accommodate this feature and neatly bundles them into named packages.  
> 
> A warn-and-execute mode would be possible as well.  I would make it
> incompatible with "autocommit" mode so that a user doing this would have a
> chance to evaluate the warnings and rollback even if the statement ran to
> completion successfully.

Our TODO list had the idea of a "novice" mode that would warn about such
things.


--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



pgsql-hackers by date:

Previous
From: David G Johnston
Date:
Subject: Re: [PATCH] parser: optionally warn about missing AS for column and table aliases
Next
From: Marko Tiikkaja
Date:
Subject: Re: Re: [PATCH] parser: optionally warn about missing AS for column and table aliases