Re: Arrays of Complex Types
От | David Fetter |
---|---|
Тема | Re: Arrays of Complex Types |
Дата | |
Msg-id | 20070326013158.GA16551@fetter.org обсуждение исходный текст |
Ответ на | Arrays of Complex Types (David Fetter <david@fetter.org>) |
Ответы |
Re: Arrays of Complex Types
|
Список | pgsql-hackers |
I wrote: > 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: I've written up a patch intended to implement this on the non-pg_catalog tables and VIEWs, but while it builds, it doesn't initdb. Enclosed are the patch and the error log. Any hints as to what I might look at? Cheers, David. > > 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 > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster -- 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 по дате отправления: