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

From Andrew Dunstan
Subject Re: Arrays of Complex Types
Date
Msg-id 61226.24.211.165.134.1172882534.squirrel@www.dunslane.net
Whole thread Raw
In response to Re: Arrays of Complex Types  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Arrays of Complex Types  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
Tom Lane wrote:
> David Fetter <david@fetter.org> writes:
>> 1.  In src/backend/commands/tablecmds.c, change DefineRelation as
>> follows:
>>     * After the first call to heap_create_with_catalog, construct and
>>       do another call to for the array type.
>
> I'm still not happy about the idea of doing this for every relation
> (and doing it for sequences and indexes would be the height of
> wastefulness).  How about we only do it for composite types?
>


I'm not happy about that. I agree that indexes and sequences should not be
done, but can we please do plain table types? I would be OK if we skipped
catalog tables, if that would make you happier.

cheers

andrew





pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Synchronized Scan update
Next
From: "Florian G. Pflug"
Date:
Subject: Re: Is there a way to run heap_insert() AFTER ExecInsertIndexTuples() ?