| From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Domains and arrays and composites, oh my |
| Date: | 2017-08-02 14:17:32 |
| Message-ID: | CA+TgmoZKifXmNMx87i33q_cHhq+oaioDDHJff-A-13Vj5Exb4g@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Thu, Jul 13, 2017 at 3:42 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2017-08-02 14:40:27 | Re: Unused variable scanned_tuples in LVRelStats |
| Previous Message | Tom Lane | 2017-08-02 14:17:12 | Re: pgbench: Skipping the creating primary keys after initialization |