Re: Selecting fields from a RowExpr

2019-10-27 Thread Pavel Stehule
Hi ne 27. 10. 2019 v 19:47 odesílatel Tom Lane napsal: > At pgconf.eu, someone whose name I've forgotten pointed out to me > that this doesn't work: > > regression=# select (row(1, 2.0)).f1; > ERROR: could not identify column "f1" in record data type > LINE 1: select (row(1, 2.0)).f1; >

Selecting fields from a RowExpr

2019-10-27 Thread Tom Lane
At pgconf.eu, someone whose name I've forgotten pointed out to me that this doesn't work: regression=# select (row(1, 2.0)).f1; ERROR: could not identify column "f1" in record data type LINE 1: select (row(1, 2.0)).f1; ^ The fields of an anonymous rowtype are certainly named f1,