From: Eric Hanson <eric@aquameta.com>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: "name" vs "alias" in datatype table
Date: Wed, 29 Nov 2023 09:16:57 -0600
Message-ID: <CACA6kxixrAJoTt7MpUtbuT++JDifWiPQCLJ5YzFzpML2Pm-WYQ@mail.gmail.com> (raw)
In-Reply-To: <CACA6kxjoGV+QxpvBa20Vdu+of3gxATWuot8FLSa1Sm2BfikN4w@mail.gmail.com>
References: <170077271331.398198.16997446522206025709@wrigleys.postgresql.org>
<83419ce9-e2ba-46e9-aaff-f6bbe448a327@eisentraut.org>
<CACA6kxjoGV+QxpvBa20Vdu+of3gxATWuot8FLSa1Sm2BfikN4w@mail.gmail.com>
The larger point being, the "name" vs "alias" paradigm presented in this
table does not accurately represent PostgreSQL, and conveys an inaccurate
picture of the relationship between type names. int4 is not an "alias".
On Wed, Nov 29, 2023 at 8:10 AM Eric Hanson <eric@aquameta.com> wrote:
> On Wed, Nov 29, 2023 at 7:40 AM Peter Eisentraut <peter@eisentraut.org>
> wrote:
>
>> On 23.11.23 21:51, PG Doc comments form wrote:
>> > I think there could be some clarification of what is a "name" vs.
>> "alias" on
>> > the datatypes table. Right now, what's in the "Aliases" column is
>> sometimes
>> > postgres's internal type (e.g. `pg_catalog.int4`), and sometimes the
>> "pretty
>> > name", (e.g. `integer`).
>>
>> This appears not to be true. `integer` is not listed as an alias.
>>
>
> Sorry, "int" is, and it is not in pg_type.
>
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-docs@postgresql.org
Cc: eric@aquameta.com, peter@eisentraut.org, pgsql-docs@lists.postgresql.org
Subject: Re: "name" vs "alias" in datatype table
In-Reply-To: <CACA6kxixrAJoTt7MpUtbuT++JDifWiPQCLJ5YzFzpML2Pm-WYQ@mail.gmail.com>
* 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