| From: | Andres Freund <andres(at)anarazel(dot)de> |
|---|---|
| To: | Marcus Strube <strube1974(at)gmail(dot)com> |
| Cc: | pgsql-admin(at)lists(dot)postgresql(dot)org |
| Subject: | Re: "constructor" does not work as alias for me |
| Date: | 2018-10-18 16:13:07 |
| Message-ID: | 20181018161306.332owvtzgjkch7ps@alap3.anarazel.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
Hi,
(please don't top-quote on these lists, thanks!)
On 2018-10-18 18:07:51 +0200, Marcus Strube wrote:
> On Thu, 18 Oct 2018 at 18:02, Andres Freund <andres(at)anarazel(dot)de> wrote:
> > 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?
> 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
Hm, so that seems like GUI problem. Which you probably best direct at
whatever GUI that is (sorry, I don't use any, so I can't identify it).
- Andres
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas Kellerer | 2018-10-19 06:04:08 | Re: "constructor" does not work as alias for me |
| Previous Message | Marcus Strube | 2018-10-18 16:07:51 | Re: "constructor" does not work as alias for me |