pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feed"constructor" does not work as alias for me
5+ messages / 3 participants
[nested] [flat]
* "constructor" does not work as alias for me
@ 2018-10-18 15:44 Marcus Strube <strube1974@gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Marcus Strube @ 2018-10-18 15:44 UTC (permalink / raw)
To: pgsql-admin@lists.postgresql.org
Hi,
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.
Regards,
Marcus
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: "constructor" does not work as alias for me
@ 2018-10-18 16:02 Andres Freund <andres@anarazel.de>
parent: Marcus Strube <strube1974@gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Andres Freund @ 2018-10-18 16:02 UTC (permalink / raw)
To: Marcus Strube <strube1974@gmail.com>; +Cc: pgsql-admin@lists.postgresql.org
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
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: "constructor" does not work as alias for me
@ 2018-10-18 16:07 Marcus Strube <strube1974@gmail.com>
parent: Andres Freund <andres@anarazel.de>
0 siblings, 1 reply; 5+ messages in thread
From: Marcus Strube @ 2018-10-18 16:07 UTC (permalink / raw)
To: andres@anarazel.de; +Cc: pgsql-admin@lists.postgresql.org
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@anarazel.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
>
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: "constructor" does not work as alias for me
@ 2018-10-18 16:13 Andres Freund <andres@anarazel.de>
parent: Marcus Strube <strube1974@gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Andres Freund @ 2018-10-18 16:13 UTC (permalink / raw)
To: Marcus Strube <strube1974@gmail.com>; +Cc: pgsql-admin@lists.postgresql.org
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
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: "constructor" does not work as alias for me
@ 2018-10-19 06:04 Thomas Kellerer <spam_eater@gmx.net>
parent: Andres Freund <andres@anarazel.de>
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Kellerer @ 2018-10-19 06:04 UTC (permalink / raw)
To: pgsql-admin@lists.postgresql.org
Andres Freund schrieb am 18.10.2018 um 18:13:
>>>> 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.
>>
> 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).
The screenshot looks like pgAdmin 4
This should be reported on the pgadmin mailing list
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2018-10-19 06:04 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-10-18 15:44 "constructor" does not work as alias for me Marcus Strube <strube1974@gmail.com>
2018-10-18 16:02 ` Andres Freund <andres@anarazel.de>
2018-10-18 16:07 ` Marcus Strube <strube1974@gmail.com>
2018-10-18 16:13 ` Andres Freund <andres@anarazel.de>
2018-10-19 06:04 ` Thomas Kellerer <spam_eater@gmx.net>
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