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