Re: Arrays of Complex Types

From: Andrew - Supernews <andrew+nonews(at)supernews(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Arrays of Complex Types
Date: 2007-03-28 07:05:24
Message-ID: slrnf0k4tk.dse.andrew+nonews@atlantis.supernews.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On 2007-03-27, David Fetter <david(at)fetter(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2007-03-28 07:07:14 Re: Reduction in WAL for UPDATEs
Previous Message ITAGAKI Takahiro 2007-03-28 05:47:12 Re: O_DIRECT support for Windows

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2007-03-28 08:06:15 Re: Small code clean-up
Previous Message ITAGAKI Takahiro 2007-03-28 05:47:12 Re: O_DIRECT support for Windows