Re: arrays of rows and dblink - Mailing list pgsql-general

From Torsten Förtsch
Subject Re: arrays of rows and dblink
Date
Msg-id 536147F4.3000805@gmx.net
Whole thread Raw
In response to Re: arrays of rows and dblink  (David G Johnston <david.g.johnston@gmail.com>)
Responses Re: arrays of rows and dblink
List pgsql-general
On 30/04/14 20:19, David G Johnston wrote:
> ISTM that you have to "CREATE TYPE ..." as appropriate then
>
> ... tb ( col_alias type_created_above[] )
>
> There is only so much you can do with anonymous types (which is what the ROW
> construct creates; ROW is not a type but an expression anchor - like
> ARRAY[...]) that tells the parser how to interpret what follows.

I thought so. Do I have to create the type in both databases or only on
the receiving site?

Thanks,
Torsten


pgsql-general by date:

Previous
From: David G Johnston
Date:
Subject: Re: arrays of rows and dblink
Next
From: David G Johnston
Date:
Subject: Re: arrays of rows and dblink