Re: [HACKERS] Domains and arrays and composites, oh my - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [HACKERS] Domains and arrays and composites, oh my
Date
Msg-id CA+TgmoZKifXmNMx87i33q_cHhq+oaioDDHJff-A-13Vj5Exb4g@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] Domains and arrays and composites, oh my  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, Jul 13, 2017 at 3:42 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Yeah, it does, although I'm not sure how intuitive it is that the
> parentheses are significant ...
>
> regression=# select fdc.* from fdc();
>   fdc
> -------
>  (1,2)
> (1 row)
>
> regression=# select (fdc).* from fdc();
>  r | i
> ---+---
>  1 | 2
> (1 row)

Not intuitive at all.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] Unused variable scanned_tuples in LVRelStats