mirror of
https://github.com/postgres/postgres.git
synced 2025-08-24 09:27:52 +03:00
binary migration: pg_migrator
Add comments about places where system oids have to be preserved for binary migration.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/commands/typecmds.c,v 1.139 2009/12/07 05:22:21 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/commands/typecmds.c,v 1.140 2009/12/19 00:47:57 momjian Exp $
|
||||
*
|
||||
* DESCRIPTION
|
||||
* The "DefineFoo" routines take the parse tree and pick out the
|
||||
@@ -531,6 +531,12 @@ DefineType(List *names, List *parameters)
|
||||
* now have TypeCreate do all the real work.
|
||||
*/
|
||||
typoid =
|
||||
/*
|
||||
* The pg_type.oid is stored in user tables as array elements
|
||||
* (base types) in ArrayType and in composite types in
|
||||
* DatumTupleFields. This oid must be preserved by binary
|
||||
* upgrades.
|
||||
*/
|
||||
TypeCreate(InvalidOid, /* no predetermined type OID */
|
||||
typeName, /* type name */
|
||||
typeNamespace, /* namespace */
|
||||
|
Reference in New Issue
Block a user