Re: Arrays of Complex Types - Mailing list pgsql-hackers

From Andrew - Supernews
Subject Re: Arrays of Complex Types
Date
Msg-id slrnf0k4tk.dse.andrew+nonews@atlantis.supernews.net
Whole thread Raw
In response to Arrays of Complex Types  (David Fetter <david@fetter.org>)
Responses Re: Arrays of Complex Types  (David Fetter <david@fetter.org>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: ITAGAKI Takahiro
Date:
Subject: Re: O_DIRECT support for Windows
Next
From: "Simon Riggs"
Date:
Subject: Re: Reduction in WAL for UPDATEs