Re: Proposition for autoname columns - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: Proposition for autoname columns
Date
Msg-id CAKFQuwZQASYOMduQZQCyK8jqC0kmR04cq9bQ+-BpJNULiP7O0g@mail.gmail.com
Whole thread Raw
In response to Re: Proposition for autoname columns  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Proposition for autoname columns  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On Thu, Nov 12, 2020 at 8:59 AM Andrew Dunstan <andrew@dunslane.net> wrote:


So if we then say:


    select x, j->>x from mytable;


you want both result columns named x? That seems like a recipe for
serious confusion. I really don't think this proposal has been properly
thought through.


IMO It no worse than today's:

select count(*), count(*) from (values (1), (2)) vals (v);
count | count
2 | 2
David J.

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Proposition for autoname columns
Next
From: Andrew Dunstan
Date:
Subject: Re: Proposition for autoname columns