Re: row->ARRAY or row->table casting?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nico Sabbi <nsabbi(at)officinedigitali(dot)it>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: row->ARRAY or row->table casting?
Date: 2007-09-28 16:36:34
Message-ID: 3490.1190997394@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Nico Sabbi <nsabbi(at)officinedigitali(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message A. Kretschmer 2007-09-28 16:38:17 Re: more problems with count(*) on large table
Previous Message Jeff Davis 2007-09-28 16:28:57 Re: DAGs and recursive queries