Arrays of Complex Types - Mailing list pgsql-hackers

From David Fetter
Subject Arrays of Complex Types
Date
Msg-id 20070302234016.GF3665@fetter.org
Whole thread Raw
Responses Re: Arrays of Complex Types
Re: Arrays of Complex Types
Re: Arrays of Complex Types
List pgsql-hackers
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:

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.
   * Add an appropriate pg_depend entry.

2.  Change RemoveRelation to reflect the above.

3.  Change TypeRename appropriately, whatever that turns out to be.

Does the above make sense?  Have I missed anything critical?

Cheers,
D
-- 
David Fetter <david@fetter.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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: broken doc
Next
From: Tom Lane
Date:
Subject: Re: broken doc