Re: Arrays of Complex Types

From: David Fetter <david(at)fetter(dot)org>
To: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Arrays of Complex Types
Date: 2007-03-30 20:23:58
Message-ID: 20070330202357.GA29202@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Fri, Mar 02, 2007 at 03:40:16PM -0800, David Fetter wrote:
> Folks,
>
> I'd like to take the TODO item that reads, "Add support for arrays of
> complex types," but before I start patching, I'd like to see whether
> what I'm about to do makes any sense:

After several rounds of patches, it appears that it might be easier to
create a new typtype entry, which I'll tentatively call 'a' because it
seems a little fragile and a lot inelegant and hard to maintain to
have typtype='c' and typrelid=InvalidOid mean, "this is an array of
complex types." I'd like to see about making this new typtype
available for arrays of DOMAINs eventually, but that's not a
requirement right this instant.

What parts of the code would need a once-over?

Cheers,
D
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
phone: +1 415 235 3778 AIM: dfetter666
Skype: davidfetter

Remember to vote!
Consider donating to PostgreSQL: http://www.postgresql.org/about/donate

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-03-30 20:34:23 Re: Minor changes to Recovery related code
Previous Message Josh Berkus 2007-03-30 18:49:25 Re: Proposal: include PL/Proxy into core

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2007-03-30 20:34:23 Re: Minor changes to Recovery related code
Previous Message Bruce Momjian 2007-03-30 19:34:58 Re: RESET SESSION