Re: [PATCH] Generate column names for subquery expressions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] Generate column names for subquery expressions
Date
Msg-id 9810.1314841700@sss.pgh.pa.us
Whole thread Raw
In response to [PATCH] Generate column names for subquery expressions  (Marti Raudsepp <marti@juffo.org>)
List pgsql-hackers
Marti Raudsepp <marti@juffo.org> writes:
> In current PostgreSQL versions, subquery expressions in the SELECT list
> always generate columns with name "?column?"
> ...
> This patch improves on that:
>   select (SELECT 1 AS foo) => foo
>   select exists(SELECT 1)  => exists
>   select array(SELECT 1)   => array

> Does this sound like a good idea?

Seems like a lot of room for bikeshedding here, but we could certainly
consider doing something.

> Should I submit this to the CommitFest?

Please.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Inoue, Hiroshi"
Date:
Subject: Re: setlocale() and gettext on Windows revisited
Next
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] pg_upgrade problem