Re: Re: [PATCH] parser: optionally warn about missing AS for column and table aliases

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: [PATCH] parser: optionally warn about missing AS for column and table aliases
Date: 2014-09-05 21:54:05
Message-ID: 20140905215405.GA26717@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Tiikkaja 2014-09-05 22:27:21 Re: Re: [PATCH] parser: optionally warn about missing AS for column and table aliases
Previous Message David G Johnston 2014-09-05 21:33:00 Re: [PATCH] parser: optionally warn about missing AS for column and table aliases