Re: [HACKERS] Questionable behavior regarding aliasing

2015-10-09 Thread Marko Tiikkaja
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

Re: [HACKERS] Questionable behavior regarding aliasing

2015-10-09 Thread Jim Nasby
On 10/9/15 4:16 PM, Tom Lane wrote: Jim Nasby writes: I fat-fingered a view create and ended up with this: ... , schemaname, relname -- other now , d_now, ... I was about to report this as a bug until Marko Tiikkaja pointed out on IRC that now

Re: [HACKERS] Questionable behavior regarding aliasing

2015-10-09 Thread Tom Lane
Jim Nasby writes: > I fat-fingered a view create and ended up with this: > ... >, schemaname, relname -- other >now >, d_now, ... > I was about to report this as a bug until Marko Tiikkaja pointed out on > IRC that now was being treated as an

[HACKERS] Questionable behavior regarding aliasing

2015-10-09 Thread Jim Nasby
I fat-fingered a view create and ended up with this: ... , schemaname, relname -- other now , d_now, ... 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