PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "catalog/binary_upgrade.h"
#include "catalog/heap.h"
#include "catalog/namespace.h"
#include "catalog/pg_type.h"
#include "commands/extension.h"
#include "miscadmin.h"
#include "utils/array.h"
#include "utils/builtins.h"
Go to the source code of this file.
Macros | |
#define | CHECK_IS_BINARY_UPGRADE |
#define CHECK_IS_BINARY_UPGRADE |
Definition at line 24 of file pg_upgrade_support.c.
Datum binary_upgrade_create_empty_extension | ( | PG_FUNCTION_ARGS | ) |
Definition at line 175 of file pg_upgrade_support.c.
References CHECK_IS_BINARY_UPGRADE, deconstruct_array_builtin(), elog(), ERROR, get_extension_oid(), get_namespace_oid(), GetUserId(), i, InsertExtensionTuple(), lappend_oid(), NIL, PG_ARGISNULL, PG_GETARG_ARRAYTYPE_P, PG_GETARG_BOOL, PG_GETARG_DATUM, PG_GETARG_TEXT_PP, PG_RETURN_VOID, PointerGetDatum(), text_to_cstring(), and TextDatumGetCString.
Datum binary_upgrade_set_missing_value | ( | PG_FUNCTION_ARGS | ) |
Definition at line 251 of file pg_upgrade_support.c.
References attname, CHECK_IS_BINARY_UPGRADE, PG_GETARG_OID, PG_GETARG_TEXT_P, PG_RETURN_VOID, SetAttrMissing(), text_to_cstring(), and value.
Datum binary_upgrade_set_next_array_pg_type_oid | ( | PG_FUNCTION_ARGS | ) |
Definition at line 55 of file pg_upgrade_support.c.
References binary_upgrade_next_array_pg_type_oid, CHECK_IS_BINARY_UPGRADE, PG_GETARG_OID, and PG_RETURN_VOID.
Datum binary_upgrade_set_next_heap_pg_class_oid | ( | PG_FUNCTION_ARGS | ) |
Definition at line 88 of file pg_upgrade_support.c.
References binary_upgrade_next_heap_pg_class_oid, CHECK_IS_BINARY_UPGRADE, PG_GETARG_OID, and PG_RETURN_VOID.
Datum binary_upgrade_set_next_heap_relfilenode | ( | PG_FUNCTION_ARGS | ) |
Definition at line 99 of file pg_upgrade_support.c.
References binary_upgrade_next_heap_pg_class_relfilenumber, CHECK_IS_BINARY_UPGRADE, PG_GETARG_OID, and PG_RETURN_VOID.
Datum binary_upgrade_set_next_index_pg_class_oid | ( | PG_FUNCTION_ARGS | ) |
Definition at line 110 of file pg_upgrade_support.c.
References binary_upgrade_next_index_pg_class_oid, CHECK_IS_BINARY_UPGRADE, PG_GETARG_OID, and PG_RETURN_VOID.
Datum binary_upgrade_set_next_index_relfilenode | ( | PG_FUNCTION_ARGS | ) |
Definition at line 121 of file pg_upgrade_support.c.
References binary_upgrade_next_index_pg_class_relfilenumber, CHECK_IS_BINARY_UPGRADE, PG_GETARG_OID, and PG_RETURN_VOID.
Datum binary_upgrade_set_next_multirange_array_pg_type_oid | ( | PG_FUNCTION_ARGS | ) |
Definition at line 77 of file pg_upgrade_support.c.
References binary_upgrade_next_mrng_array_pg_type_oid, CHECK_IS_BINARY_UPGRADE, PG_GETARG_OID, and PG_RETURN_VOID.
Datum binary_upgrade_set_next_multirange_pg_type_oid | ( | PG_FUNCTION_ARGS | ) |
Definition at line 66 of file pg_upgrade_support.c.
References binary_upgrade_next_mrng_pg_type_oid, CHECK_IS_BINARY_UPGRADE, PG_GETARG_OID, and PG_RETURN_VOID.
Datum binary_upgrade_set_next_pg_authid_oid | ( | PG_FUNCTION_ARGS | ) |
Definition at line 165 of file pg_upgrade_support.c.
References binary_upgrade_next_pg_authid_oid, CHECK_IS_BINARY_UPGRADE, PG_GETARG_OID, and PG_RETURN_VOID.
Datum binary_upgrade_set_next_pg_enum_oid | ( | PG_FUNCTION_ARGS | ) |
Definition at line 154 of file pg_upgrade_support.c.
References binary_upgrade_next_pg_enum_oid, CHECK_IS_BINARY_UPGRADE, PG_GETARG_OID, and PG_RETURN_VOID.
Datum binary_upgrade_set_next_pg_tablespace_oid | ( | PG_FUNCTION_ARGS | ) |
Definition at line 33 of file pg_upgrade_support.c.
References binary_upgrade_next_pg_tablespace_oid, CHECK_IS_BINARY_UPGRADE, PG_GETARG_OID, and PG_RETURN_VOID.
Datum binary_upgrade_set_next_pg_type_oid | ( | PG_FUNCTION_ARGS | ) |
Definition at line 44 of file pg_upgrade_support.c.
References binary_upgrade_next_pg_type_oid, CHECK_IS_BINARY_UPGRADE, PG_GETARG_OID, and PG_RETURN_VOID.
Datum binary_upgrade_set_next_toast_pg_class_oid | ( | PG_FUNCTION_ARGS | ) |
Definition at line 132 of file pg_upgrade_support.c.
References binary_upgrade_next_toast_pg_class_oid, CHECK_IS_BINARY_UPGRADE, PG_GETARG_OID, and PG_RETURN_VOID.
Datum binary_upgrade_set_next_toast_relfilenode | ( | PG_FUNCTION_ARGS | ) |
Definition at line 143 of file pg_upgrade_support.c.
References binary_upgrade_next_toast_pg_class_relfilenumber, CHECK_IS_BINARY_UPGRADE, PG_GETARG_OID, and PG_RETURN_VOID.
Datum binary_upgrade_set_record_init_privs | ( | PG_FUNCTION_ARGS | ) |
Definition at line 240 of file pg_upgrade_support.c.
References binary_upgrade_record_init_privs, CHECK_IS_BINARY_UPGRADE, PG_GETARG_BOOL, and PG_RETURN_VOID.