mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Move pg_upgrade_support global variables to their own include file
Previously their declarations were spread around to avoid accidental access.
This commit is contained in:
@ -11,6 +11,7 @@
|
||||
|
||||
#include "postgres.h"
|
||||
|
||||
#include "catalog/binary_upgrade.h"
|
||||
#include "catalog/namespace.h"
|
||||
#include "catalog/pg_type.h"
|
||||
#include "commands/extension.h"
|
||||
@ -24,17 +25,6 @@
|
||||
PG_MODULE_MAGIC;
|
||||
#endif
|
||||
|
||||
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;
|
||||
|
||||
Datum set_next_pg_type_oid(PG_FUNCTION_ARGS);
|
||||
Datum set_next_array_pg_type_oid(PG_FUNCTION_ARGS);
|
||||
Datum set_next_toast_pg_type_oid(PG_FUNCTION_ARGS);
|
||||
|
Reference in New Issue
Block a user