| From: | David Fetter <david(at)fetter(dot)org> |
|---|---|
| To: | PG Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Arrays of Complex Types |
| Date: | 2007-03-02 23:40:16 |
| Message-ID: | 20070302234016.GF3665@fetter.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
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(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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2007-03-02 23:43:50 | Re: broken doc |
| Previous Message | Josh Berkus | 2007-03-02 23:39:02 | SE-Linux/PostgreSQL work? |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2007-03-02 23:59:50 | Re: Arrays of Complex Types |
| Previous Message | Tom Lane | 2007-03-02 23:38:54 | Re: [HACKERS] Deadlock with pg_dump? |