Re: row->ARRAY or row->table casting? - Mailing list pgsql-general

From Tom Lane
Subject Re: row->ARRAY or row->table casting?
Date
Msg-id 3490.1190997394@sss.pgh.pa.us
Whole thread Raw
In response to row->ARRAY or row->table casting?  (Nico Sabbi <nsabbi@officinedigitali.it>)
Responses Re: row->ARRAY or row->table casting?
List pgsql-general
Nico Sabbi <nsabbi@officinedigitali.it> writes:
> is there any way to cast a generic row to an array or to a table type?

"row(...)::composite_type" should work in 8.2 and up.

            regards, tom lane

pgsql-general by date:

Previous
From: Jeff Davis
Date:
Subject: Re: DAGs and recursive queries
Next
From: "A. Kretschmer"
Date:
Subject: Re: more problems with count(*) on large table