From: Andres Freund <andres@anarazel.de>
To: Marcus Strube <strube1974@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: "constructor" does not work as alias for me
Date: Thu, 18 Oct 2018 09:13:07 -0700
Message-ID: <20181018161306.332owvtzgjkch7ps@alap3.anarazel.de> (raw)
In-Reply-To: <CADzjXnwfyaP_LtkLyAqCYd9GuN7NhdJPsWw4Uk9+adYwZmekLg@mail.gmail.com>
References: <CADzjXnyX8GbhHPZMoFXFyne9yRaqEGZLoAhc=T=tfBVybr_0kg@mail.gmail.com>
<20181018160221.k42wo2lj6jsqgq4m@alap3.anarazel.de>
<CADzjXnwfyaP_LtkLyAqCYd9GuN7NhdJPsWw4Uk9+adYwZmekLg@mail.gmail.com>
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@anarazel.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: andres@anarazel.de, strube1974@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: "constructor" does not work as alias for me
In-Reply-To: <20181018161306.332owvtzgjkch7ps@alap3.anarazel.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox