mirror of
https://github.com/postgres/postgres.git
synced 2026-02-15 00:33:54 -05:00
Previously, TOAST tables only required in the new cluster could cause oid conflicts if they were auto-numbered and a later conflicting oid had to be assigned. Backpatch through 9.3
33 lines
1.1 KiB
C
33 lines
1.1 KiB
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* binary_upgrade.h
|
|
* variables used for binary upgrades
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2014, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* src/include/catalog/binary_upgrade.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef BINARY_UPGRADE_H
|
|
#define BINARY_UPGRADE_H
|
|
|
|
#include "catalog/pg_authid.h"
|
|
|
|
/* pick a OID that will never be used for TOAST tables */
|
|
#define OPTIONALLY_CREATE_TOAST_OID BOOTSTRAP_SUPERUSERID
|
|
|
|
extern PGDLLIMPORT Oid binary_upgrade_next_pg_type_oid;
|
|
extern PGDLLIMPORT Oid binary_upgrade_next_array_pg_type_oid;
|
|
extern PGDLLIMPORT Oid binary_upgrade_next_toast_pg_type_oid;
|
|
|
|
extern PGDLLIMPORT Oid binary_upgrade_next_heap_pg_class_oid;
|
|
extern PGDLLIMPORT Oid binary_upgrade_next_index_pg_class_oid;
|
|
extern PGDLLIMPORT Oid binary_upgrade_next_toast_pg_class_oid;
|
|
|
|
extern PGDLLIMPORT Oid binary_upgrade_next_pg_enum_oid;
|
|
extern PGDLLIMPORT Oid binary_upgrade_next_pg_authid_oid;
|
|
|
|
#endif /* BINARY_UPGRADE_H */
|