On 2007-03-27, David Fetter <david@fetter.org> wrote:
> Per further discussion with Andrew of Supernews and Merlin Moncure,
> I've added a check for compound types and moved the creation of the
> array type from DefineRelation in backend/commands/tablecmds.c to
> heap_create_with_catalog in backend/catalog/heap.c.
You've still got the usage of the relation OID and the relation _type_ OID
reversed.
The array element type that you pass to TypeCreate must be the _type_ OID.
--
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services