diff options
| author | Bruce Momjian <bruce@momjian.us> | 2013-12-19 16:10:01 -0500 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2013-12-19 16:10:07 -0500 |
| commit | 527fdd9df11eb338fdd372d16f62cd067de5204b (patch) | |
| tree | d1e354608fd06f148007522f5ee4a59d95429bd9 /src/include | |
| parent | 73bcb76b77c2e47dd066a1961309cf950cf19412 (diff) | |
Move pg_upgrade_support global variables to their own include file
Previously their declarations were spread around to avoid accidental
access.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/catalog/binary_upgrade.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/include/catalog/binary_upgrade.h b/src/include/catalog/binary_upgrade.h new file mode 100644 index 00000000000..169d7696e35 --- /dev/null +++ b/src/include/catalog/binary_upgrade.h @@ -0,0 +1,29 @@ +/*------------------------------------------------------------------------- + * + * binary_upgrade.h + * variables used for binary upgrades + * + * + * Portions Copyright (c) 1996-2013, 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 + +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 */ + |
