|
|||||||||||
|
Re: [GENERAL] row->ARRAY or row->table casting?
From: Nico Sabbi <nsabbi(at)officinedigitali.it>
Date: Fri Sep 28 2007 - 12:53:36 EDT
What's the right syntax for a case like this? nb1=# select r.a from (select row(tab1.*)::tab1 as r from tab1)x; ERROR: missing FROM-clause entry for table "r" LINE 1: select r.a from (select row(tab1.*)::tab1 as r from tab1)x; ^ I tried many variations (including casting x as tab1) obtaining only syntax errors. Thanks, Nico ---------------------------(end of broadcast)---------------------------TIP 5: don't forget to increase your free space map settings Received on Fri Sep 28 12:56:42 2007 This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 11:57:25 EDT |
||||||||||
|
|||||||||||