From: | Marcus Strube <strube1974(at)gmail(dot)com> |
---|---|
To: | andres(at)anarazel(dot)de |
Cc: | pgsql-admin(at)lists(dot)postgresql(dot)org |
Subject: | Re: "constructor" does not work as alias for me |
Date: | 2018-10-18 16:07:51 |
Message-ID: | CADzjXnwfyaP_LtkLyAqCYd9GuN7NhdJPsWw4Uk9+adYwZmekLg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
No, it doesn't.
In psql
select n as "constructor" from (VALUES (1), (2), (3)) AS t (n);
select n from (VALUES (1), (2), (3)) AS t (n);
both give the same result: https://imgur.com/a/x0XkvwB
On Thu, 18 Oct 2018 at 18:02, Andres Freund <andres(at)anarazel(dot)de> wrote:
> Hi,
>
> On 2018-10-18 17:44:21 +0200, Marcus Strube wrote:
> > the alias "constructor" does seem to be a problem.
> >
> > select n as "constructor" from (VALUES (1), (2), (3)) AS t (n)
> >
> > This gives this result: https://imgur.com/a/dM9eM06
> >
> > psql for both gives the same result.
> >
> > I am running the latest version from the "PostgreSQL Apt Repository" on
> > Ubuntu 18.10 in desktop mode.
>
> Could you verify that the same happens when you use psql?
>
> Greetings,
>
> Andres Freund
>
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2018-10-18 16:13:07 | Re: "constructor" does not work as alias for me |
Previous Message | Andres Freund | 2018-10-18 16:02:21 | Re: "constructor" does not work as alias for me |