Re: Removing pg_migrator limitations
Bruce Momjian <bruce@momjian.us>
From: Bruce Momjian <bruce@momjian.us>
To: PostgreSQL-development <pgsql-hackers@postgreSQL.org>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Date: 2009-12-19T00:49:18Z
Lists: pgsql-hackers
Attachments
- /rtmp/diff (text/x-diff) patch
Bruce Momjian wrote: > > I think the OIDs for user-defined arrays stored in table data are > > element types, not the array type which is what you're pointing at with > > the line you quote: > > > > > > > array_oid = GetNewOid(pg_type); > > > > IMBFOS. > > Oh, yea, sorry, I was just showing examples of where we get the oids --- > I have not researched the exact calls yet, but I am doing that now and > will apply a patch that adds C comments to the C structures to identify > them. I figure it would be good to document this no matter what we do. I have applied the attached patch which documents the locations where system oids have to be preserved for binary upgrades. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + If your life is a hard drive, Christ can be your backup. +