PostgreSQL Source Code: src/backend/bootstrap/bootstrap.c File Reference (original) (raw)

Go to the source code of this file.

Data Structures
struct typinfo
struct typmap
struct rolinfo
struct _IndexList
Functions
static void CheckerModeMain (void)
static void bootstrap_signals (void)
static Form_pg_attribute AllocateAttribute (void)
static void InsertOneProargdefaultsValue (char *value)
static void populate_typ_list (void)
static Oid gettype (char *type)
static void cleanup (void)
void BootstrapModeMain (int argc, char *argv[], bool check_only)
void boot_openrel (char *relname)
void closerel (char *relname)
void DefineAttr (char *name, char *type, int attnum, int nullness)
void InsertOneTuple (void)
void InsertOneValue (char *value, int i)
void InsertOneNull (int i)
void boot_get_type_io_data (Oid typid, int16 *typlen, bool *typbyval, char *typalign, char *typdelim, Oid *typioparam, Oid *typinput, Oid *typoutput, Oid *typcollation)
Oid boot_get_role_oid (const char *rolname)
void index_register (Oid heap, Oid ind, const IndexInfo *indexInfo)
void build_indices (void)
Variables
Relation boot_reldesc
Form_pg_attribute attrtypes [MAXATTR]
int numattr
static const struct typinfo TypInfo []
static const int n_types = sizeof(TypInfo) / sizeof(struct typinfo)
static List * Typ = NIL
static struct typmap * Ap = NULL
static const struct rolinfo RolInfo []
static Datum values [MAXATTR]
static bool Nulls [MAXATTR]
static MemoryContext nogc = NULL
static IndexList * ILHead = NULL

IndexList

AllocateAttribute()

boot_get_role_oid()

boot_get_type_io_data()

Definition at line 1003 of file bootstrap.c.

1012{

1014 {

1015

1018

1019 foreach(lc, Typ)

1020 {

1022 if (ap->am_oid == typid)

1023 break;

1024 }

1025

1026 if (ap || ap->am_oid != typid)

1027 elog(ERROR, "type OID %u not found in Typ list", typid);

1028

1029 *typlen = ap->am_typ.typlen;

1030 *typbyval = ap->am_typ.typbyval;

1032 *typdelim = ap->am_typ.typdelim;

1033

1034

1036 *typioparam = ap->am_typ.typelem;

1037 else

1038 *typioparam = typid;

1039

1041 *typoutput = ap->am_typ.typoutput;

1042

1043 *typcollation = ap->am_typ.typcollation;

1044 }

1045 else

1046 {

1047

1049

1051 {

1053 break;

1054 }

1056 elog(ERROR, "type OID %u not found in TypInfo", typid);

1057

1061

1062 *typdelim = ',';

1063

1064

1067 else

1068 *typioparam = typid;

1069

1072

1074 }

1075}

static const struct typinfo TypInfo[]

#define OidIsValid(objectId)

References typinfo::align, typinfo::byval, typinfo::collation, typinfo::elem, elog, ERROR, fb(), typinfo::inproc, typinfo::len, lfirst, n_types, NIL, OidIsValid, typinfo::outproc, Typ, typalign, and TypInfo.

Referenced by get_type_io_data(), InsertOneProargdefaultsValue(), and InsertOneValue().

boot_openrel()

Definition at line 476 of file bootstrap.c.

477{

478 int i;

479

482

483

484

485

486

489

492

493 elog(DEBUG4, "open relation %s, attrsize %d",

495

499 {

505

506 {

508

509 elog(DEBUG4, "create attribute %d name %s len %d num %d type %u",

510 i, NameStr(at->attname), at->attlen, at->attnum,

511 at->atttypid);

512 }

513 }

514}

void closerel(char *relname)

static void populate_typ_list(void)

Form_pg_attribute attrtypes[MAXATTR]

static Form_pg_attribute AllocateAttribute(void)

RangeVar * makeRangeVar(char *schemaname, char *relname, int location)

#define RelationGetNumberOfAttributes(relation)

Relation table_openrv(const RangeVar *relation, LOCKMODE lockmode)

static FormData_pg_attribute * TupleDescAttr(TupleDesc tupdesc, int i)

References AllocateAttribute(), ATTRIBUTE_FIXED_PART_SIZE, attrtypes, boot_reldesc, closerel(), DEBUG4, elog, fb(), i, makeRangeVar(), NAMEDATALEN, NameStr, NIL, NoLock, numattr, populate_typ_list(), RelationData::rd_att, RelationGetNumberOfAttributes, relname, table_openrv(), TupleDescAttr(), and Typ.

bootstrap_signals()

BootstrapModeMain()

Definition at line 234 of file bootstrap.c.

235{

236 int i;

242

244

246

247

249

250

252 && (strcmp(argv[1], "--boot") == 0

253 || strcmp(argv[1], "--check") == 0));

254 argv++;

255 argc--;

256

257 while ((flag = getopt(argc, argv, "B:c:d:D:Fkr:X:-:")) != -1)

258 {

259 switch (flag)

260 {

261 case 'B':

263 break;

264 case '-':

265

266

267

268

269

270

271

275 errmsg("--%s must be first argument", optarg)));

276

278 case 'c':

279 {

282

285 {

286 if (flag == '-')

289 errmsg("--%s requires a value",

291 else

294 errmsg("-c %s requires a value",

296 }

297

301 break;

302 }

303 case 'D':

305 break;

306 case 'd':

307 {

308

310

317 }

318 break;

319 case 'F':

321 break;

322 case 'k':

324 break;

325 case 'r':

327 break;

328 case 'X':

330 break;

331 default:

332 write_stderr("Try \"%s --help\" for more information.\n",

335 break;

336 }

337 }

338

340 {

343 }

344

345

348

349

350

351

352

355

357

360

362

363

364

365

366

367

369

371

373

374

375

376

377

379

380

381

382

383

384

386 {

390 }

391

392

393

394

396

398

401

402

403

404

405

407 elog(ERROR, "backend is incorrectly linked to frontend functions");

408

410

411

413 {

416 }

417

419 elog(ERROR, "yylex_init() failed: %m");

420

421

422

423

427

428

429

430

431

433

434

437}

#define write_stderr(str)

static void CheckerModeMain(void)

static void cleanup(void)

static void bootstrap_signals(void)

static bool Nulls[MAXATTR]

int boot_yylex_init(yyscan_t *yyscannerp)

int boot_yyparse(yyscan_t yyscanner)

#define PG_DATA_CHECKSUM_VERSION

int errcode(int sqlerrcode)

#define ereport(elevel,...)

void set_max_safe_fds(void)

char OutputFileName[MAXPGPATH]

void SetConfigOption(const char *name, const char *value, GucContext context, GucSource source)

bool SelectConfigFiles(const char *userDoption, const char *progname)

void ParseLongOption(const char *string, char **name, char **value)

void InitializeGUCOptions(void)

void CreateSharedMemoryAndSemaphores(void)

bool pg_link_canary_is_frontend(void)

DispatchOption parse_dispatch_option(const char *name)

char * pstrdup(const char *in)

void pfree(void *pointer)

#define SetProcessingMode(mode)

void ChangeToDataDir(void)

void InitStandaloneProcess(const char *argv0)

void CreateDataDirLockFile(bool amPostmaster)

int getopt(int nargc, char *const *nargv, const char *ostr)

PGDLLIMPORT char * optarg

void InitPostmasterChildSlots(void)

size_t strlcpy(char *dst, const char *src, size_t siz)

static const char * userDoption

void InitializeMaxBackends(void)

void InitializeFastPathLocks(void)

void InitPostgres(const char *in_dbname, Oid dboid, const char *username, Oid useroid, bits32 flags, char *out_dbname)

char * psprintf(const char *fmt,...)

void RelationMapFinishBootstrap(void)

void StartTransactionCommand(void)

void CommitTransactionCommand(void)

void BootStrapXLOG(uint32 data_checksum_version)

References Assert, attrtypes, BaseInit(), boot_yylex_init(), boot_yyparse(), bootstrap_signals(), BootstrapProcessing, BootStrapXLOG(), ChangeToDataDir(), checkDataDir(), CheckerModeMain(), cleanup(), CommitTransactionCommand(), CreateDataDirLockFile(), CreateSharedMemoryAndSemaphores(), DISPATCH_POSTMASTER, elog, ereport, errcode(), errmsg, ERROR, fb(), flag(), getopt(), i, IgnoreSystemIndexes, InitializeFastPathLocks(), InitializeGUCOptions(), InitializeMaxBackends(), InitPostgres(), InitPostmasterChildSlots(), InitProcess(), InitStandaloneProcess(), InvalidOid, IsUnderPostmaster, MAXATTR, MAXPGPATH, name, NormalProcessing, Nulls, optarg, optind, OutputFileName, parse_dispatch_option(), ParseLongOption(), pfree(), PG_DATA_CHECKSUM_VERSION, pg_fallthrough, pg_link_canary_is_frontend(), PGC_INTERNAL, PGC_POSTMASTER, PGC_S_ARGV, PGC_S_DYNAMIC_DEFAULT, proc_exit(), progname, psprintf(), pstrdup(), RelationMapFinishBootstrap(), SelectConfigFiles(), set_max_safe_fds(), SetConfigOption(), SetProcessingMode, StartTransactionCommand(), strlcpy(), userDoption, value, and write_stderr.

Referenced by main().

build_indices()

Definition at line 1172 of file bootstrap.c.

1173{

1175 {

1178

1179

1182

1184

1187 }

1188}

static IndexList * ILHead

void index_build(Relation heapRelation, Relation indexRelation, IndexInfo *indexInfo, bool isreindex, bool parallel)

void index_close(Relation relation, LOCKMODE lockmode)

Relation index_open(Oid relationId, LOCKMODE lockmode)

struct _IndexList * il_next

void table_close(Relation relation, LOCKMODE lockmode)

Relation table_open(Oid relationId, LOCKMODE lockmode)

References fb(), _IndexList::il_heap, _IndexList::il_ind, _IndexList::il_info, _IndexList::il_next, ILHead, index_build(), index_close(), index_open(), NoLock, table_close(), and table_open().

CheckerModeMain()

cleanup()

Definition at line 878 of file bootstrap.c.

References boot_reldesc, closerel(), and fb().

Referenced by add_client_identification(), BootstrapModeMain(), conninfo_uri_parse_options(), extended_statistics_update(), GetConfFilesInDir(), getExtensions(), getPublications(), getSubscriptionRelations(), handle_oauth_sasl_error(), main(), merge_list_bounds(), merge_range_bounds(), optimize(), parse_oauth_json(), ParseConfigFile(), ParseConfigFp(), pg_GSS_read(), pg_GSS_write(), pg_regexec(), pgoutput_change(), print_aligned_text(), RecordTransactionCommit(), ReorderBufferRestoreChanges(), ResolveRecoveryConflictWithLock(), and validate().

closerel()

Definition at line 521 of file bootstrap.c.

522{

524 {

526 {

528 elog(ERROR, "close of %s when %s was expected",

530 }

531 else

532 elog(ERROR, "close of %s before any relation was opened",

534 }

535

537 elog(ERROR, "no open relation to close");

538 else

539 {

544 }

545}

#define RelationGetRelationName(relation)

References boot_reldesc, DEBUG4, elog, ERROR, fb(), NoLock, RelationGetRelationName, relname, and table_close().

Referenced by boot_openrel(), cleanup(), and DefineAttr().

DefineAttr()

Definition at line 558 of file bootstrap.c.

559{

560 Oid typeoid;

561

563 {

564 elog(WARNING, "no open relations allowed with CREATE command");

566 }

567

571

575

577

579 {

587

590 else

592 }

593 else

594 {

602

606 else

608 }

609

610

611

612

613

614

615

618

621

623 {

625 }

627 {

629 }

630 else

631 {

633

634

635

636

637

638

640 {

641 int i;

642

643

645 {

648 break;

649 }

652 }

653 }

654}

static Oid gettype(char *type)

static struct typmap * Ap

#define BOOTCOL_NULL_FORCE_NULL

#define BOOTCOL_NULL_FORCE_NOT_NULL

#define BOOTCOL_NULL_AUTO

#define MemSet(start, val, len)

void namestrcpy(Name name, const char *str)

#define InvalidCompressionMethod

References typinfo::align, AllocateAttribute(), typmap::am_oid, typmap::am_typ, Ap, Assert, attlen, attname, attnotnull, attnum, ATTRIBUTE_FIXED_PART_SIZE, attrtypes, boot_reldesc, BOOTCOL_NULL_AUTO, BOOTCOL_NULL_FORCE_NOT_NULL, BOOTCOL_NULL_FORCE_NULL, typinfo::byval, closerel(), typinfo::collation, DEBUG4, elog, fb(), gettype(), i, InvalidCompressionMethod, InvalidOid, typinfo::len, MemSet, name, NameStr, namestrcpy(), NIL, typinfo::oid, OidIsValid, typinfo::storage, Typ, type, TypInfo, and WARNING.

gettype()

Definition at line 931 of file bootstrap.c.

932{

934 {

936

938 {

940

942 {

945 }

946 }

947

948

949

950

951

952

956

957

958

959

960

962 {

964

966 {

969 }

970 }

971 }

972 else

973 {

974 int i;

975

977 {

979 return i;

980 }

981

985 }

987

988 return 0;

989}

void list_free_deep(List *list)

References typmap::am_oid, Ap, DEBUG4, elog, ERROR, fb(), gettype(), i, lfirst, list_free_deep(), n_types, name, NAMEDATALEN, NameStr, NIL, populate_typ_list(), Typ, type, and TypInfo.

Referenced by DefineAttr(), and gettype().

index_register()

Definition at line 1122 of file bootstrap.c.

1125{

1128

1129

1130

1131

1132

1133

1134

1137 "BootstrapNoGC",

1139

1141

1143 newind->il_heap = heap;

1146

1148

1149 newind->il_info->ii_Expressions =

1151 newind->il_info->ii_ExpressionsState = NIL;

1152

1153 newind->il_info->ii_Predicate =

1155 newind->il_info->ii_PredicateState = NULL;

1156

1160

1163

1165}

static MemoryContext nogc

#define palloc_object(type)

#define AllocSetContextCreate

#define ALLOCSET_DEFAULT_SIZES

static MemoryContext MemoryContextSwitchTo(MemoryContext context)

uint16 * ii_ExclusionStrats

References ALLOCSET_DEFAULT_SIZES, AllocSetContextCreate, Assert, copyObject, fb(), IndexInfo::ii_ExclusionOps, IndexInfo::ii_ExclusionProcs, IndexInfo::ii_ExclusionStrats, IndexInfo::ii_Expressions, IndexInfo::ii_Predicate, ILHead, MemoryContextSwitchTo(), NIL, nogc, and palloc_object.

Referenced by index_create().

InsertOneNull()

Definition at line 860 of file bootstrap.c.

861{

862 elog(DEBUG4, "inserting column %d NULL", i);

866 "NULL value specified for not-null column \"%s\" of relation \"%s\"",

871}

static Datum values[MAXATTR]

static Datum PointerGetDatum(const void *X)

References Assert, boot_reldesc, DEBUG4, elog, ERROR, fb(), i, MAXATTR, NameStr, Nulls, PointerGetDatum(), RelationData::rd_att, RelationGetRelationName, TupleDescAttr(), and values.

InsertOneProargdefaultsValue()

Definition at line 760 of file bootstrap.c.

761{

770

771

773 "pronargs must come before proargdefaults");

775 "pronargdefaults must come before proargdefaults");

777 "proargtypes must come before proargdefaults");

779 elog(ERROR, "pronargs must not be null");

781 elog(ERROR, "proargtypes must not be null");

785

786

793

794

796 elog(ERROR, "too many proargdefaults entries");

797

798

801 {

804 bool typbyval;

806 char typdelim;

807 Oid typioparam;

809 Oid typoutput;

810 Oid typcollation;

814

816 &typlen, &typbyval, &typalign,

817 &typdelim, &typioparam,

819 &typcollation);

820

823 defval = (Datum) 0;

824 else

827 typioparam, -1);

828

830 -1,

831 typcollation,

832 typlen,

833 defval,

835 typbyval);

837 }

838

839

840

841

842

846

847

848

849

850

853}

#define DatumGetArrayTypeP(X)

void deconstruct_array_builtin(const ArrayType *array, Oid elmtype, Datum **elemsp, bool **nullsp, int *nelemsp)

void boot_get_type_io_data(Oid typid, int16 *typlen, bool *typbyval, char *typalign, char *typdelim, Oid *typioparam, Oid *typinput, Oid *typoutput, Oid *typcollation)

#define CStringGetTextDatum(s)

#define StaticAssertDecl(condition, errmessage)

Datum OidInputFunctionCall(Oid functionId, char *str, Oid typioparam, int32 typmod)

#define OidFunctionCall3(functionId, arg1, arg2, arg3)

List * lappend(List *list, void *datum)

Const * makeConst(Oid consttype, int32 consttypmod, Oid constcollid, int constlen, Datum constvalue, bool constisnull, bool constbyval)

char * nodeToString(const void *obj)

static Datum Int16GetDatum(int16 X)

static Datum ObjectIdGetDatum(Oid X)

static char * DatumGetCString(Datum X)

static Pointer DatumGetPointer(Datum X)

static Datum CStringGetDatum(const char *X)

static Datum Int32GetDatum(int32 X)

static int16 DatumGetInt16(Datum X)

References Assert, boot_get_type_io_data(), CStringGetDatum(), CStringGetTextDatum, DatumGetArrayTypeP, DatumGetCString(), DatumGetInt16(), DatumGetPointer(), deconstruct_array_builtin(), elog, ERROR, fb(), i, Int16GetDatum(), Int32GetDatum(), lappend(), makeConst(), NIL, nodeToString(), Nulls, ObjectIdGetDatum(), OidFunctionCall3, OidInputFunctionCall(), pronargs, StaticAssertDecl, typalign, value, and values.

Referenced by InsertOneValue().

InsertOneTuple()

Definition at line 665 of file bootstrap.c.

666{

669 int i;

670

672

675 pfree(tupDesc);

676

680

681

682

683

686}

void simple_heap_insert(Relation relation, HeapTuple tup)

HeapTuple heap_form_tuple(TupleDesc tupleDescriptor, const Datum *values, const bool *isnull)

void heap_freetuple(HeapTuple htup)

TupleDesc CreateTupleDesc(int natts, Form_pg_attribute *attrs)

References attrtypes, boot_reldesc, CreateTupleDesc(), DEBUG4, elog, heap_form_tuple(), heap_freetuple(), i, Nulls, numattr, pfree(), simple_heap_insert(), and values.

InsertOneValue()

Definition at line 693 of file bootstrap.c.

694{

696 Oid typoid;

698 bool typbyval;

700 char typdelim;

701 Oid typioparam;

703 Oid typoutput;

704 Oid typcollation;

705

707

709

711 typoid = attr->atttypid;

712

714 &typlen, &typbyval, &typalign,

715 &typdelim, &typioparam,

717 &typcollation);

718

719

720

721

722

723

725 {

726

730 else

731 elog(ERROR, "can't handle pg_node_tree input for %s.%s",

734 }

735 else

736 {

737

739 }

740

741

742

743

744

748}

static void InsertOneProargdefaultsValue(char *value)

int int errmsg_internal(const char *fmt,...) pg_attribute_printf(1

char * OidOutputFunctionCall(Oid functionId, Datum val)

#define RelationGetRelid(relation)

#define RelationGetDescr(relation)

References Assert, boot_get_type_io_data(), boot_reldesc, DEBUG4, elog, ereport, errmsg_internal(), ERROR, fb(), i, InsertOneProargdefaultsValue(), MAXATTR, NameStr, OidInputFunctionCall(), OidOutputFunctionCall(), RelationGetDescr, RelationGetRelationName, RelationGetRelid, TupleDescAttr(), typalign, value, and values.

populate_typ_list()

Definition at line 891 of file bootstrap.c.

892{

897

899

904 {

907

910

913 }

917}

HeapTuple heap_getnext(TableScanDesc sscan, ScanDirection direction)

static void * GETSTRUCT(const HeapTupleData *tuple)

END_CATALOG_STRUCT typedef FormData_pg_type * Form_pg_type

TableScanDesc table_beginscan_catalog(Relation relation, int nkeys, ScanKeyData *key)

static void table_endscan(TableScanDesc scan)

References Assert, fb(), Form_pg_type, ForwardScanDirection, GETSTRUCT(), heap_getnext(), lappend(), MemoryContextSwitchTo(), NIL, NoLock, palloc_object, table_beginscan_catalog(), table_close(), table_endscan(), table_open(), TopMemoryContext, and Typ.

Referenced by boot_openrel(), and gettype().

Ap

attrtypes

boot_reldesc

ILHead

n_types

nogc

Nulls

Definition at line 188 of file bootstrap.c.

Referenced by _SPI_convert_params(), BootstrapModeMain(), InsertOneNull(), InsertOneProargdefaultsValue(), InsertOneTuple(), SPI_cursor_open(), SPI_cursor_open_with_args(), SPI_execp(), SPI_execute_plan(), SPI_execute_snapshot(), SPI_execute_with_args(), and SPI_modifytuple().

numattr

RolInfo

Typ

TypInfo

values

Definition at line 187 of file bootstrap.c.

Referenced by _bt_build_callback(), _bt_check_unique(), _bt_spool(), _h_spool(), aclexplode(), add_values_to_range(), AddEnumLabel(), AddSubscriptionRelState(), AggregateCreate(), AlterCollation(), AlterDatabaseRefreshColl(), AlterObjectNamespace_internal(), AlterObjectOwner_internal(), AlterObjectRename_internal(), AlterOperator(), AlterPolicy(), AlterPublicationOptions(), AlterSetting(), AlterSubscription(), AlterTypeRecurse(), apply_returning_filter(), ApplyExtensionUpdates(), array_in(), array_iterate(), array_map(), array_out(), array_replace_internal(), attribute_statistics_update(), blinsert(), bloomBuildCallback(), BloomFormTuple(), brin_deconstruct_tuple(), brin_deform_tuple(), brin_form_tuple(), brin_metapage_info(), brin_page_items(), brinbuildCallback(), brinbuildCallbackParallel(), brininsert(), bt_metap(), bt_multi_page_stats(), bt_page_print_tuples(), bt_page_stats_internal(), bt_tuple_present_callback(), btinsert(), build_index_value_desc(), build_pgstattuple_type(), build_sorted_items(), build_tuplestore_recursively(), BuildIndexValueDescription(), BuildTupleFromCStrings(), CastCreate(), CatalogIndexInsert(), check_conn_params(), check_exclusion_constraint(), check_exclusion_or_unique_constraint(), clear_subscription_skip_lsn(), CollationCreate(), collectTSQueryValues(), comparetup_index_btree_tiebreak(), compute_index_stats(), compute_partition_hash_value(), compute_scalar_stats(), connect_pg_server(), ConnectDatabase(), connectDatabase(), conninfo_array_parse(), construct_connection_params(), constructConnStr(), ConversionCreate(), convert_VALUES_to_ANY(), copy_replication_slot(), CopyArrayEls(), CopyFromBinaryOneRow(), CopyFromCSVOneRow(), CopyFromTextLikeOneRow(), CopyFromTextOneRow(), create_cursor(), CreateAccessMethod(), CreateComments(), CreateConstraintEntry(), CreateForeignDataWrapper(), CreateForeignServer(), CreateForeignTable(), CreateOpFamily(), CreatePolicy(), CreateProceduralLanguage(), CreatePublication(), CreateReplicationSlot(), CreateSharedComments(), CreateStatistics(), CreateSubscription(), CreateTableSpace(), CreateTransform(), CreateTriggerFiringOn(), CreateUserMapping(), crosstab(), dblink_get_notify(), dblink_get_pkey(), DefineOpClass(), DefineTSConfiguration(), DefineTSDictionary(), DefineTSParser(), DefineTSTemplate(), DisableSubscription(), DiscreteKnapsack(), do_connect(), do_text_output_multiline(), do_tup_output(), doConnect(), each_object_field_end(), each_worker_jsonb(), elements_array_element_end(), elements_worker_jsonb(), exec_move_row(), exec_move_row_from_fields(), ExecBuildAggTrans(), ExecBuildSlotPartitionKeyDescription(), ExecCheckIndexConstraints(), ExecComputeStoredGenerated(), ExecEvalMinMax(), ExecEvalXmlExpr(), ExecFilterJunk(), ExecFindPartition(), ExecGrant_Attribute(), ExecGrant_common(), ExecGrant_Largeobject(), ExecGrant_Parameter(), ExecGrant_Relation(), ExecInitExprRec(), ExecInsertIndexTuples(), execute_dml_stmt(), extended_statistics_update(), ExtractConnectionOptions(), ExtractReplicaIdentity(), file_acquire_sample_rows(), fill_hba_line(), fill_ident_line(), FillXLogStatsRow(), FormIndexDatum(), FormPartitionKeyDatum(), get_actual_variable_endpoint(), get_altertable_subcmdinfo(), get_available_versions_for_extension(), get_crosstab_tuplestore(), get_matching_hash_bounds(), get_matching_range_bounds(), get_partition_for_tuple(), get_text_array_contents(), GetConfigOptionValues(), GetConnection(), GetWALBlockInfo(), GetWALRecordInfo(), GetWALRecordsInfo(), GetWalStats(), GetXLogSummaryStats(), gin_leafpage_items(), gin_metapage_info(), gin_page_opaque_info(), ginBuildCallback(), ginBuildCallbackParallel(), gininsert(), gist_page_items(), gist_page_items_bytea(), gist_page_opaque_info(), gistBuildCallback(), gistinsert(), gistSortedBuildCallback(), hash_bitmap_info(), hash_metapage_info(), hash_page_items(), hash_page_stats(), hash_record(), hash_record_extended(), hashbuildCallback(), hashinsert(), heap_compute_data_size(), heap_deform_tuple(), heap_fill_tuple(), heap_form_minimal_tuple(), heap_form_tuple(), heap_modify_tuple(), heap_modify_tuple_by_cols(), heap_page_items(), heap_tuple_infomask_flags(), heapam_index_build_range_scan(), heapam_index_validate_scan(), heapam_relation_copy_for_cluster(), hstore_from_record(), hstore_populate_record(), IdentifySystem(), import_pg_statistic(), index_concurrently_swap(), index_deform_tuple(), index_deform_tuple_internal(), index_form_tuple(), index_form_tuple_context(), index_insert(), index_truncate_tuple(), IndexCheckExclusion(), inet_hist_value_sel(), injection_points_list(), insert_event_trigger_tuple(), InsertExtensionTuple(), InsertOneNull(), InsertOneProargdefaultsValue(), InsertOneTuple(), InsertOneValue(), InsertPgClassTuple(), InsertRule(), intset_flush_buffered_values(), inv_truncate(), inv_write(), LargeObjectCreate(), libpqsrv_connect_params(), LogicalOutputWrite(), logicalrep_write_tuple(), main(), main(), make_tuple_from_result_row(), make_tuple_indirect(), materializeQueryResult(), materializeResult(), minmax_multi_init(), NamespaceCreate(), ndistinct_for_combination(), NextCopyFrom(), oid_array_to_list(), OperatorCreate(), OperatorShellMake(), page_header(), ParameterAclCreate(), parse_key_value_arrays(), parseLocalRelOptions(), partition_range_datum_bsearch(), perform_pruning_base_step(), pg_armor(), pg_available_extensions(), pg_available_wal_summaries(), pg_backup_stop(), pg_buffercache_evict(), pg_buffercache_evict_all(), pg_buffercache_evict_relation(), pg_buffercache_mark_dirty(), pg_buffercache_mark_dirty_all(), pg_buffercache_mark_dirty_relation(), pg_buffercache_os_pages_internal(), pg_buffercache_pages(), pg_buffercache_summary(), pg_buffercache_usage_counts(), pg_config(), pg_control_checkpoint(), pg_control_init(), pg_control_recovery(), pg_control_system(), pg_create_logical_replication_slot(), pg_create_physical_replication_slot(), pg_cursor(), pg_event_trigger_ddl_commands(), pg_event_trigger_dropped_objects(), pg_extension_update_paths(), pg_get_aios(), pg_get_catalog_foreign_keys(), pg_get_keywords(), pg_get_loaded_modules(), pg_get_logical_snapshot_info(), pg_get_logical_snapshot_meta(), pg_get_multixact_members(), pg_get_multixact_stats(), pg_get_object_address(), pg_get_publication_tables(), pg_get_replication_slots(), pg_get_sequence_data(), pg_get_shmem_allocations(), pg_get_shmem_allocations_numa(), pg_get_wait_events(), pg_get_wal_record_info(), pg_get_wal_resource_managers(), pg_get_wal_summarizer_state(), pg_identify_object(), pg_identify_object_as_address(), pg_input_error_info(), pg_last_committed_xact(), pg_lock_status(), pg_ls_dir(), pg_ls_dir_files(), pg_options_to_table(), pg_partition_tree(), pg_prepared_statement(), pg_prepared_xact(), pg_replication_slot_advance(), pg_sequence_parameters(), pg_show_replication_origin_status(), pg_split_walfile_name(), pg_stat_file(), pg_stat_get_activity(), pg_stat_get_archiver(), pg_stat_get_backend_subxact(), pg_stat_get_progress_info(), pg_stat_get_recovery(), pg_stat_get_recovery_prefetch(), pg_stat_get_replication_slot(), pg_stat_get_slru(), pg_stat_get_subscription(), pg_stat_get_subscription_stats(), pg_stat_get_wal_receiver(), pg_stat_get_wal_senders(), pg_stat_io_build_tuples(), pg_stat_statements_info(), pg_stat_statements_internal(), pg_stat_wal_build_tuple(), pg_stats_ext_mcvlist_items(), pg_tablespace_databases(), pg_timezone_abbrevs_abbrevs(), pg_timezone_abbrevs_zone(), pg_timezone_names(), pg_visibility(), pg_visibility_map(), pg_visibility_map_rel(), pg_visibility_map_summary(), pg_visibility_rel(), pg_wal_summary_contents(), pg_walfile_name_offset(), pg_xact_commit_timestamp_origin(), pgfdw_has_required_scram_options(), pgfdw_security_check(), pgp_armor_encode(), pgp_armor_headers(), pgp_extract_armor_headers(), pgrowlocks(), pgstatginindex_internal(), pgstathashindex(), pgstatindex_impl(), pgstattuple_approx_internal(), plperl_build_tuple_result(), pltcl_build_tuple_result(), PLy_cursor_plan(), PLy_spi_execute_plan(), PLyGenericObject_ToComposite(), PLyMapping_ToComposite(), PLySequence_ToComposite(), populate_record(), postgres_fdw_connection(), postgres_fdw_get_connections_internal(), PQconnectdbParams(), PQconnectStartParams(), PQpingParams(), ProcedureCreate(), prs_process_call(), publication_add_relation(), publication_add_schema(), PutMemoryContextsStatsTupleStore(), RangeCreate(), ReadArrayBinary(), ReadArrayStr(), ReadReplicationSlot(), record_in(), record_out(), record_recv(), record_send(), recordExtensionInitPrivWorker(), reduce_expanded_ranges(), reform_and_rewrite_tuple(), regression_main(), relation_statistics_update(), RemoveRoleFromInitPriv(), RemoveRoleFromObjectPolicy(), ReplaceRoleInInitPriv(), replorigin_create(), report_corruption_internal(), SendTablespaceList(), SendXlogRecPtrResult(), serialize_expr_stats(), SetDefaultACL(), SetSecurityLabel(), SetSharedSecurityLabel(), shdepAddDependency(), shdepChangeDep(), show_all_file_settings(), show_all_settings(), ShowAllGUCConfig(), slot_deform_heap_tuple_internal(), spginsert(), spgistBuildCallback(), split_text_accum_result(), sql_conn(), ssl_extension_info(), StartReplication(), statatt_init_empty_tuple(), statatt_set_slot(), statext_mcv_serialize(), statext_store(), StoreAttrDefault(), storeOperators(), StorePartitionKey(), storeProcedures(), StoreSingleInheritance(), test_custom_stats_fixed_report(), test_custom_stats_var_report(), test_enc_conversion(), test_huge_distances(), test_predtest(), tfuncLoadRows(), toast_build_flattened_tuple(), toast_delete_external(), TransformGUCArray(), ts_process_call(), tsvector_unnest(), tt_process_call(), tuplesort_putindextuplevalues(), tuplestore_putvalues(), TypeCreate(), TypeShellMake(), unique_key_recheck(), update_attstats(), UpdateDeadTupleRetentionStatus(), UpdateIndexRelation(), UpdateSubscriptionRelState(), UpdateTwoPhaseState(), upsert_pg_statistic(), upsert_pg_statistic_ext_data(), vacuumlo(), ValuesNext(), WaitForLockersMultiple(), and xpath_table().