Re: Questionable behavior regarding aliasing - Mailing list pgsql-hackers

From Marko Tiikkaja
Subject Re: Questionable behavior regarding aliasing
Date
Msg-id 561824E4.4050602@joh.to
Whole thread Raw
In response to Questionable behavior regarding aliasing  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
List pgsql-hackers
On 2015-10-09 10:31 PM, Jim Nasby wrote:
> I was about to report this as a bug until Marko Tiikkaja pointed out on
> IRC that now was being treated as an alias for relname.
>
> I'm not sure if this is required by the spec, but can we at least emit a
> WARNING if not reject this case outright? I think it'd be OK to leave
> the AS syntax alone... presumably it's a lot harder to fumble that. But
> I'm not wed to that.

I'd be happy to turn on a GUC disabling this misfeature.  It's only ever 
brought pain and unhappiness to me and my family.


.m



pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Questionable behavior regarding aliasing
Next
From: Amir Rohan
Date:
Subject: Re: Proposal: pg_confcheck - syntactic & semantic validation of postgresql configuration files