Header And Logo

PostgreSQL
| The world's most advanced open source database.

Data Structures | Defines | Typedefs | Functions | Variables

ipc_test.c File Reference

#include "postgres.h"
#include <unistd.h>
#include "miscadmin.h"
#include "storage/ipc.h"
#include "storage/pg_sema.h"
#include "storage/pg_shmem.h"
Include dependency graph for ipc_test.c:

Go to the source code of this file.

Data Structures

struct  ONEXIT
struct  MyStorage

Defines

#define MAX_ON_EXITS   20

Typedefs

typedef struct MyStorage MyStorage

Functions

void proc_exit (int code)
void shmem_exit (int code)
void on_shmem_exit (pg_on_exit_callback function, Datum arg)
void on_exit_reset (void)
void AddToDataDirLockFile (int target_line, const char *str)
void ProcessInterrupts (void)
void ExceptionalCondition (const char *conditionName, const char *errorType, const char *fileName, int lineNumber)
int errcode_for_file_access (void)
bool errstart (int elevel, const char *filename, int lineno, const char *funcname, const char *domain)
void errfinish (int dummy,...)
void elog_start (const char *filename, int lineno, const char *funcname)
void elog_finish (int elevel, const char *fmt,...)
int errcode (int sqlerrcode)
int errmsg (const char *fmt,...)
int errmsg_internal (const char *fmt,...)
int errdetail (const char *fmt,...)
int errdetail_log (const char *fmt,...)
int errhint (const char *fmt,...)
int main (int argc, char **argv)

Variables

volatile bool InterruptPending = false
volatile bool QueryCancelPending = false
volatile bool ProcDiePending = false
volatile bool ImmediateInterruptOK = false
volatile uint32 InterruptHoldoffCount = 0
volatile uint32 CritSectionCount = 0
bool IsUnderPostmaster = false
bool assert_enabled = true
int MaxBackends = 32
int NBuffers = 64
char * DataDir = "."
static struct ONEXIT on_proc_exit_list [MAX_ON_EXITS]
static struct ONEXIT on_shmem_exit_list [MAX_ON_EXITS]
static int on_proc_exit_index
static int on_shmem_exit_index

Define Documentation

#define MAX_ON_EXITS   20

Definition at line 57 of file ipc_test.c.

Referenced by on_shmem_exit().


Typedef Documentation

typedef struct MyStorage MyStorage

Function Documentation

void AddToDataDirLockFile ( int  target_line,
const char *  str 
)

Definition at line 107 of file ipc_test.c.

Referenced by InternalIpcMemoryCreate(), and PostmasterMain().

{
}

void elog_finish ( int  elevel,
const char *  fmt,
  ... 
)

Definition at line 154 of file ipc_test.c.

References proc_exit().

{
    fprintf(stderr, "ERROR: %s\n", fmt);
    proc_exit(1);
}

void elog_start ( const char *  filename,
int  lineno,
const char *  funcname 
)

Definition at line 149 of file ipc_test.c.

{
}

int errcode ( int  sqlerrcode  ) 

Definition at line 161 of file ipc_test.c.

Referenced by __attribute__(), _arrq_cons(), _bt_buildadd(), _bt_check_unique(), _bt_checkpage(), _bt_findinsertloc(), _bt_getroot(), _bt_getrootheight(), _bt_gettrueroot(), _hash_checkpage(), _hash_doinsert(), _hash_first(), _hash_initbitmap(), _intbig_in(), _intbig_out(), _lca(), _lt_q_regex(), _ltree_compress(), _PG_init(), _SPI_execute_plan(), AbortBufferIO(), abstime2tm(), abstime_date(), abstime_timestamp(), abstime_timestamptz(), aclcheck_error(), aclcheck_error_col(), aclinsert(), aclitemin(), aclparse(), aclremove(), add_parameter_name(), add_reloption_kind(), add_size(), AddEnumLabel(), addFamilyMember(), addFlagValue(), AddQual(), addRangeTableEntryForCTE(), addRangeTableEntryForFunction(), addRangeTableEntryForJoin(), addRangeTableEntryForSubquery(), addRangeTableEntryForValues(), AddRelationNewConstraints(), AddRoleMems(), addTargetToSortList(), AdjustIntervalForTypmod(), AdjustTimestampForTypmod(), AfterTriggerSetState(), AggregateCreate(), alen_object_start(), alen_scalar(), AllocateDir(), AllocateFile(), AllocateVfd(), AllocSetAlloc(), AllocSetContextCreate(), AllocSetRealloc(), AlterDatabase(), AlterDatabaseOwner(), AlterDomainAddConstraint(), AlterDomainDropConstraint(), AlterDomainNotNull(), AlterDomainValidateConstraint(), AlterEventTrigger(), AlterEventTriggerOwner(), AlterEventTriggerOwner_internal(), AlterEventTriggerOwner_oid(), AlterExtensionNamespace(), AlterForeignDataWrapper(), AlterForeignDataWrapperOwner(), AlterForeignDataWrapperOwner_internal(), AlterForeignDataWrapperOwner_oid(), AlterForeignServer(), AlterForeignServerOwner(), AlterForeignServerOwner_oid(), AlterFunction(), AlterObjectNamespace_internal(), AlterObjectRename_internal(), AlterOpFamily(), AlterOpFamilyAdd(), AlterOpFamilyDrop(), AlterRelationNamespaceInternal(), AlterRole(), AlterRoleSet(), AlterSchemaOwner(), AlterTableNamespace(), AlterTableSpaceOptions(), AlterTSConfiguration(), AlterTypeNamespace(), AlterTypeNamespace_oid(), AlterTypeNamespaceInternal(), AlterTypeOwner(), AlterUserMapping(), analyze_rel(), analyzeCTE(), analyzeCTETargetList(), any_in(), any_out(), anyarray_in(), anyarray_recv(), anybit_typmodin(), anychar_typmodin(), anyelement_in(), anyelement_out(), anyenum_in(), anynonarray_in(), anynonarray_out(), anyrange_in(), anytime_typmodin(), anytimestamp_typmodin(), apply_typmod(), ApplyExtensionUpdates(), array_agg_transfn(), array_cat(), array_cmp(), array_contain_compare(), array_eq(), array_fill(), array_fill_internal(), array_fill_with_lower_bounds(), array_get_slice(), array_in(), array_iterator(), array_map(), array_push(), array_recv(), array_replace_internal(), array_send(), array_set(), array_set_slice(), array_to_datum_internal(), ArrayCount(), ArrayGetIntegerTypmods(), ArrayGetNItems(), arrq_cons(), ascii(), assign_backendlist_entry(), assign_collations_walker(), assignOperTypes(), assignProcTypes(), Async_Notify(), ATAddCheckConstraint(), ATAddForeignKeyConstraint(), AtEOSubXact_SPI(), AtEOXact_SPI(), ATExecAddColumn(), ATExecAddConstraint(), ATExecAddInherit(), ATExecAddOf(), ATExecAlterColumnGenericOptions(), ATExecAlterColumnType(), ATExecChangeOwner(), ATExecClusterOn(), ATExecColumnDefault(), ATExecDropColumn(), ATExecDropConstraint(), ATExecDropInherit(), ATExecDropNotNull(), ATExecDropOf(), ATExecGenericOptions(), ATExecSetNotNull(), ATExecSetOptions(), ATExecSetRelOptions(), ATExecSetStatistics(), ATExecSetStorage(), ATExecSetTableSpace(), ATExecValidateConstraint(), ATPrepAddColumn(), ATPrepAddInherit(), ATPrepAlterColumnType(), AtPrepare_Locks(), AtPrepare_Notify(), AtPrepare_RelationMap(), ATPrepDropColumn(), ATPrepSetStatistics(), ATPrepSetTableSpace(), ATRewriteTable(), ATRewriteTables(), ATSimplePermissions(), AtSubCommit_childXids(), ATWrongRelkindError(), auth_failed(), autoinc(), AuxiliaryProcessMain(), b64_decode(), BackendStartup(), BackgroundWorkerInitializeConnection(), BasicOpenFile(), BeginCopy(), BeginCopyFrom(), BeginCopyTo(), BeginTransactionBlock(), bgworker_die(), binary_decode(), binary_encode(), bit(), bit_and(), bit_in(), bit_or(), bit_overlay(), bit_recv(), bitgetbit(), bitsetbit(), bitsubstring(), bittoint4(), bittoint8(), bitxor(), boolin(), BootstrapToastTable(), box_in(), bpchar(), bpchar_input(), bqarr_in(), bqarr_out(), bt_metap(), bt_page_items(), bt_page_stats(), build_column_default(), build_datatype(), build_row_from_class(), build_tuplestore_recursively(), BuildDescForRelation(), buildRelationAliases(), buildScalarFunctionAlias(), bytea_overlay(), bytea_substring(), byteaGetBit(), byteaGetByte(), byteain(), byteaSetBit(), byteaSetByte(), calc_rank_cd(), call_bool_check_hook(), call_enum_check_hook(), call_int_check_hook(), call_real_check_hook(), call_string_check_hook(), cash_dist(), cash_div_cash(), cash_div_flt4(), cash_div_flt8(), cash_div_int2(), cash_div_int4(), cash_div_int8(), cash_in(), changeDependencyFor(), check_acl(), check_agg_arguments(), check_agg_arguments_walker(), check_circularity(), check_conn_params(), check_default_tablespace(), check_encoding_locale_matches(), check_exclusion_constraint(), check_for_column_name_collision(), check_foreign_key(), check_ident_usermap(), check_index_is_clusterable(), check_is_member_of_role(), check_object_ownership(), check_of_type(), check_parameter_resolution_walker(), check_password(), check_primary_key(), check_relation_privileges(), check_restricted_library_name(), check_sql_fn_retval(), check_stack_depth(), check_temp_tablespaces(), check_TSCurrentConfig(), check_ungrouped_columns_walker(), check_valid_extension_name(), check_valid_version_name(), CheckAttributeNamesTypes(), CheckAttributeType(), checkDataDir(), checkDomainOwner(), checkEnumOwner(), checkExprIsVarFree(), CheckForSerializableConflictIn(), CheckForSerializableConflictOut(), CheckIndexCompatible(), checkInsertTargets(), CheckMyDatabase(), checkNameSpaceConflicts(), CheckPredicate(), CheckRecoveryConflictDeadlock(), CheckRelationOwnership(), CheckRestrictedOperation(), checkRuleResultList(), CheckSelectLocking(), CheckSetNamespace(), checkSharedDependencies(), CheckTableNotInUse(), checkTargetlistEntrySQL92(), CheckValidResultRel(), CheckValidRowMarkRel(), checkViewTupleDesc(), checkWellFormedRecursion(), checkWellFormedRecursionWalker(), chkpass_in(), choose_hashed_distinct(), choose_hashed_grouping(), choose_hashed_setop(), chr(), cidr_abbrev(), cidr_set_masklen(), circle_in(), circle_out(), circle_poly(), circle_recv(), ClientAuthentication(), close_lb(), cluster(), cluster_rel(), coerce_record_to_complex(), coerce_to_boolean(), coerce_to_common_type(), coerce_to_specific_type(), CollationCreate(), colNameToVar(), CommandCounterIncrement(), CommentObject(), comparetup_index_btree(), compatConnectbyTupleDescs(), compatCrosstabTupleDescs(), compatible_oper(), compile_plperl_function(), compile_pltcl_function(), compileTheLexeme(), compileTheSubstitute(), complex_in(), compute_attributes_sql_style(), compute_attributes_with_style(), compute_common_attribute(), compute_return_type(), ComputeIndexAttrs(), concat_internal(), ConnCreate(), connect_pg_server(), connectby_text(), connectby_text_serial(), construct_md_array(), ConversionCreate(), convert_and_check_filename(), convert_any_priv_string(), convert_column_name(), convert_function_name(), convert_priv_string(), convert_tuples_by_name(), convert_tuples_by_position(), convert_type_name(), cookConstraint(), cookDefault(), copy_relation_data(), CopyFrom(), CopyGetAttnums(), CopyGetData(), CopyReadAttributesCSV(), CopyReadAttributesText(), CopyReadBinaryAttribute(), CopyReadLineText(), CopySendEndOfRow(), count_agg_clauses_walker(), create_proc_lang(), create_singleton_array(), create_tablespace_directories(), create_toast_table(), CreateCast(), CreateConversionCommand(), createdb(), CreateEventTrigger(), CreateExtension(), CreateForeignDataWrapper(), CreateForeignServer(), CreateFunction(), CreateLockFile(), createNewConnection(), CreateOpFamily(), CreatePortal(), CreatePredicateLock(), CreateProceduralLanguage(), CreateRole(), CreateSchemaCommand(), CreateTableSpace(), CreateTrigger(), CreateUserMapping(), crosstab(), crosstab_hash(), cube_a_f8(), cube_a_f8_f8(), cube_subset(), currval_oid(), cursor_to_xml(), cursor_to_xmlschema(), dacos(), dasin(), datan(), datan2(), date2timestamp(), date2timestamptz(), date_in(), date_mi(), date_recv(), DateTimeParseError(), datumGetSize(), dblink_build_sql_delete(), dblink_build_sql_insert(), dblink_build_sql_update(), dblink_connect(), dblink_connstr_check(), dblink_exec(), dblink_fdw_validator(), dblink_fetch(), dblink_res_error(), dblink_security_check(), DCH_from_char(), dcos(), dcot(), DeadLockReport(), DecodeDateTime(), DecodeTimeOnly(), deconstruct_array(), DeconstructQualifiedName(), decrypt_internal(), defGetBoolean(), defGetInt64(), defGetNumeric(), defGetQualifiedName(), defGetString(), defGetTypeLength(), defGetTypeName(), define_custom_variable(), DefineAggregate(), DefineCollation(), DefineCompositeType(), DefineDomain(), DefineEnum(), DefineIndex(), DefineOpClass(), DefineOperator(), DefineOpFamily(), DefineQueryRewrite(), DefineRange(), DefineRelation(), DefineSequence(), DefineTSConfiguration(), DefineTSDictionary(), DefineTSParser(), DefineTSTemplate(), DefineType(), DefineView(), DefineVirtualRelation(), deflist_to_tuplestore(), deleteConnection(), DelRoleMems(), deserialize_deflist(), dintdict_init(), dispell_init(), dist_lb(), div_var(), div_var_fast(), dlog1(), dlog10(), do_analyze_rel(), do_compile(), do_pg_start_backup(), do_pg_stop_backup(), do_setval(), do_to_timestamp(), DoCopy(), domain_check_input(), domain_state_setup(), domainAddConstraint(), dpow(), DropConfigurationMapping(), dropdb(), DropErrorMsgNonExistent(), DropErrorMsgWrongType(), dropOperators(), DropOwnedObjects(), dropProcedures(), DropRole(), DropTableSpace(), dsimple_init(), dsin(), dsnowball_init(), dsqrt(), dsynonym_init(), dtan(), dtoi2(), dtoi4(), dtoi8(), dummy_object_relabel(), dxsyn_init(), each_array_start(), each_scalar(), each_worker(), ean2isn(), ean2string(), elements_object_start(), elements_scalar(), EmitWarningsOnPlaceholders(), EnableDisableRule(), EnableDisableTrigger(), encrypt_internal(), EndPrepare(), EndTransactionBlock(), enforce_generic_type_consistency(), enlargeStringInfo(), enum_cmp_internal(), enum_first(), enum_in(), enum_last(), enum_out(), enum_range_all(), enum_range_bounds(), enum_recv(), enum_send(), EnumValuesCreate(), error_duplicate_filter_variable(), errorMissingColumn(), errorMissingRTE(), esc_dec_len(), esc_decode(), EvalPlanQualFetch(), EvaluateParams(), event_trigger_in(), event_trigger_out(), examine_parameter_list(), exec_assign_value(), exec_bind_message(), exec_describe_portal_message(), exec_describe_statement_message(), exec_dynquery_with_params(), exec_eval_datum(), exec_eval_expr(), exec_execute_message(), exec_get_datum_type(), exec_get_datum_type_info(), exec_init_tuple_store(), exec_object_restorecon(), exec_parse_message(), exec_prepare_plan(), exec_replication_command(), exec_run_select(), exec_simple_query(), exec_stmt_block(), exec_stmt_case(), exec_stmt_close(), exec_stmt_dynexecute(), exec_stmt_execsql(), exec_stmt_fetch(), exec_stmt_forc(), exec_stmt_foreach_a(), exec_stmt_fori(), exec_stmt_getdiag(), exec_stmt_open(), exec_stmt_raise(), exec_stmt_return(), exec_stmt_return_next(), exec_stmt_return_query(), ExecAlterDefaultPrivilegesStmt(), ExecAlterExtensionContentsStmt(), ExecAlterExtensionStmt(), ExecBSDeleteTriggers(), ExecBSInsertTriggers(), ExecBSTruncateTriggers(), ExecBSUpdateTriggers(), ExecCallTriggerFunc(), ExecCheckPlanOutput(), ExecConstraints(), execCurrentOf(), ExecDelete(), ExecEvalArray(), ExecEvalArrayRef(), ExecEvalCoerceToDomain(), ExecEvalCurrentOfExpr(), ExecEvalDistinct(), ExecEvalFuncArgs(), ExecEvalNullIf(), ExecEvalParamExtern(), ExecEvalScalarArrayOp(), ExecEvalWholeRowSlow(), ExecEvalWholeRowVar(), ExecGrant_Language(), ExecGrant_Relation(), ExecGrant_Type(), ExecInitAgg(), ExecInitExpr(), ExecInitMergeJoin(), ExecLockRows(), ExecMakeFunctionResult(), ExecMakeTableFunctionResult(), ExecOpenScanRelation(), ExecPrepareTuplestoreResult(), ExecRefreshMatView(), ExecScanSubPlan(), ExecSecLabelStmt(), ExecSetParamPlan(), ExecSetVariableStmt(), ExecTargetList(), ExecUpdate(), execute_extension_script(), execute_sql_string(), ExecuteDoStmt(), ExecuteGrantStmt(), ExecuteQuery(), ExecWindowAgg(), exp_var(), expand_col_privileges(), ExpandAllTables(), ExpandColumnRefStar(), ExplainQuery(), ExportSnapshot(), exprType(), FastPathGetRelationLockEntry(), fdw_handler_in(), fdw_handler_out(), fetch_cursor_param_value(), fetch_finfo_record(), fetch_fp_info(), FetchPreparedStatement(), file_fdw_validator(), FileWrite(), find_composite_type_dependencies(), find_in_dynamic_libpath(), find_provider(), find_typed_table_dependencies(), find_window_functions_walker(), findDependentObjects(), findRangeCanonicalFunction(), findRangeSubOpclass(), findRangeSubtypeDiffFunction(), findTargetlistEntrySQL92(), findTypeAnalyzeFunction(), findTypeInputFunction(), findTypeOutputFunction(), findTypeReceiveFunction(), findTypeSendFunction(), findTypeTypmodinFunction(), findTypeTypmodoutFunction(), FinishPreparedTransaction(), fireRIRrules(), fixed_paramref_hook(), flatten_set_variable_args(), float48div(), float4div(), float4in(), float84div(), float8div(), float8in(), FloatExceptionHandler(), fmgr(), fmgr_info_cxt_security(), fmgr_internal_validator(), fmgr_oldstyle(), fmgr_sql(), fmgr_sql_validator(), forbidden_in_wal_sender(), forkname_to_number(), free_parsestate(), from_char_parse_int_len(), from_char_seq_search(), from_char_set_int(), from_char_set_mode(), fsm_page_contents(), ftoi2(), ftoi4(), ftoi8(), func_select_candidate(), gbtreekey_in(), gbtreekey_out(), generate_recursion_plan(), generate_series_step_int4(), generate_series_step_int8(), generate_series_timestamp(), generate_series_timestamptz(), generateClonedIndexStmt(), Generic_Text_IC_like(), get_agg_expr(), get_am_oid(), get_array_start(), get_cast_oid(), get_collation_oid(), get_conversion_oid(), get_crosstab_tuplestore(), get_database_oid(), get_domain_constraint_oid(), get_event_trigger_oid(), get_extension_oid(), get_foreign_data_wrapper_oid(), get_foreign_server_oid(), get_func_expr(), get_hex(), get_language_oid(), get_namespace_oid(), get_object_address(), get_object_address_attribute(), get_object_address_type(), get_object_address_unqualified(), get_object_start(), get_other_operator(), get_path_all(), get_range_io_data(), get_raw_page_internal(), get_relation_by_qualified_name(), get_relation_constraint_oid(), get_relation_info(), get_rewrite_oid(), get_rewrite_oid_without_relid(), get_role_oid(), get_rte_attribute_type(), get_scalar(), get_sort_group_operators(), get_sql_insert(), get_sql_update(), get_tablespace_oid(), get_th(), get_trigger_oid(), get_ts_config_oid(), get_ts_dict_oid(), get_ts_parser_func(), get_ts_parser_oid(), get_ts_template_func(), get_ts_template_oid(), get_tsearch_config_filename(), get_tuple_of_interest(), get_windowfunc_expr(), GetColumnDefCollation(), GetConfigOption(), GetConfigOptionByName(), GetConfigOptionResetString(), GetConflictingVirtualXIDs(), GetCurrentDict(), GetDefaultOpClass(), GetFdwRoutineByRelId(), getid(), GetIndexOpClass(), GetMultiXactIdMembers(), GetNewMultiXactId(), GetNewTransactionId(), GetOldFunctionMessage(), GetRunningTransactionData(), GetSafeSnapshot(), GetSerializableTransactionSnapshot(), GetSerializableTransactionSnapshotInt(), GetSnapshotData(), gettoken_query(), gettoken_tsvector(), getTokenTypes(), GetTupleForTrigger(), getTypeBinaryInputInfo(), getTypeBinaryOutputInfo(), getTypeInputInfo(), getTypeOutputInfo(), GetUserMapping(), GetUserNameFromId(), getWeights(), GinFormTuple(), ginNewScanKey(), gistcheckpage(), gistUserPicksplit(), gistValidateBufferingOption(), GrantRole(), grouping_planner(), gtsvectorin(), guc_malloc(), guc_realloc(), guc_strdup(), HandleFunctionRequest(), has_rolcatupdate(), has_sequence_privilege_id(), has_sequence_privilege_id_id(), has_sequence_privilege_id_name(), has_sequence_privilege_name(), has_sequence_privilege_name_id(), has_sequence_privilege_name_name(), hash_array(), hash_array_start(), hash_create(), hash_object_field_start(), hash_range(), hash_scalar(), hash_search_with_hash_value(), heap_create_with_catalog(), heap_form_minimal_tuple(), heap_form_tuple(), heap_lock_tuple(), heap_open(), heap_openrv(), heap_openrv_extended(), heap_page_items(), heap_truncate_check_FKs(), hex_decode(), hlparsetext(), hstore_from_array(), hstore_from_arrays(), hstore_populate_record(), hstore_recv(), hstoreCheckKeyLen(), hstoreCheckValLen(), i4tochar(), i4toi2(), i8tooid(), identify_update_path(), ImportSnapshot(), index_check_primary_key(), index_constraint_create(), index_create(), index_drop(), index_form_tuple(), index_open(), inet_abbrev(), inet_set_masklen(), inetand(), inetmi(), inetor(), init_execution_state(), init_fcache(), init_MultiFuncCall(), init_params(), init_sequence(), init_sql_fcache(), init_work(), InitBufferPoolAccess(), InitFileAccess(), initialize_peragg(), InitializeClientEncoding(), InitializeSessionUserId(), InitLocalBuffers(), InitPgFdwOptions(), InitPostgres(), InitPredicateLocks(), InitProcess(), InitProcGlobal(), initSuffixTree(), InitTempTableNamespace(), InitWalSenderSlot(), inner_subltree(), insert_username(), InsertRule(), int24div(), int24mi(), int24mul(), int24pl(), int28div(), int28mi(), int28mul(), int28pl(), int2_dist(), int2abs(), int2div(), int2mi(), int2mod(), int2mul(), int2pl(), int2um(), int2vectorin(), int2vectorrecv(), int42div(), int42mi(), int42mul(), int42pl(), int48div(), int48mi(), int48mul(), int48pl(), int4_dist(), int4abs(), int4div(), int4inc(), int4mi(), int4mod(), int4mul(), int4pl(), int4um(), int82(), int82div(), int82mi(), int82mul(), int82pl(), int84(), int84div(), int84mi(), int84mul(), int84pl(), int8_dist(), int8abs(), int8div(), int8inc(), int8mi(), int8mod(), int8mul(), int8pl(), int8um(), internal_get_result_type(), internal_in(), internal_inetpl(), internal_load_library(), internal_out(), interpret_AS_clause(), interpretOidsOption(), interval_div(), interval_in(), interval_part(), interval_trunc(), intervaltypmodin(), intorel_startup(), inv_open(), inv_seek(), inv_truncate(), inv_write(), iso8859_to_utf8(), IsThereCollationInNamespace(), IsThereFunctionInNamespace(), IsThereOpClassInNamespace(), IsThereOpFamilyInNamespace(), json_agg_transfn(), json_array_elements(), json_lex_string(), json_populate_record(), json_populate_recordset(), language_handler_in(), language_handler_out(), LargeObjectDrop(), lastval(), length_in_encoding(), levenshtein_internal(), like_fixed_prefix(), line_in(), line_out(), line_recv(), line_send(), ln_var(), lo_close(), lo_export(), lo_import_internal(), lo_lseek(), lo_lseek64(), lo_read(), lo_tell(), lo_tell64(), lo_truncate_internal(), lo_unlink(), lo_write(), load_categories_hash(), load_enum_cache_data(), load_external_function(), load_hba(), load_libraries(), LocalBufferAlloc(), LocalToUtf(), locate_stem_module(), lock_twophase_recover(), LockAcquireExtended(), LockGXact(), LockTableRecurse(), lookup_agg_function(), lookup_fdw_handler_func(), lookup_rowtype_tupdesc_internal(), lookup_type_cache(), LookupAggNameTypeNames(), LookupFuncName(), LookupFuncNameTypeNames(), LookupOperName(), LookupTypeName(), LookupTypeNameOid(), lowerstr_with_len(), lpad(), lquery_in(), lseg_in(), lt_q_regex(), ltree_gist_in(), ltree_gist_out(), ltree_in(), ltxtq_out(), macaddr_in(), make_absolute_path(), make_bound_box(), make_distinct_op(), make_join_rel(), make_op(), make_outerjoininfo(), make_pathkeys_for_window(), make_result(), make_row_comparison_op(), make_row_distinct_op(), make_ruledef(), make_scalar_array_op(), make_tsvector(), makeArrayTypeName(), makepol(), makeRangeVarFromNameList(), map_sql_value_to_xml_value(), MarkAsPreparing(), MatchText(), materializeResult(), md5_bytea(), md5_text(), mdextend(), mdread(), mdwrite(), merge_acl_with_grant(), MergeAttributes(), MergeAttributesIntoExisting(), MergeCheckConstraint(), MergeConstraintsIntoExisting(), MergeWithExistingConstraint(), metaphone(), moddatetime(), movedb(), mul_size(), namerecv(), NamespaceCreate(), network_host(), network_in(), network_out(), network_recv(), network_show(), next_token(), NextCopyFrom(), nextval_internal(), NIAddAffix(), NIImportAffixes(), NIImportDictionary(), NIImportOOAffixes(), NUM_processor(), NUMDesc_prepare(), numeric_fac(), numeric_in(), numeric_int2(), numeric_int4(), numeric_int8(), numeric_power(), numeric_recv(), numeric_to_double_no_overflow(), numerictypmodin(), numericvar_to_double_no_overflow(), numericvar_to_int4(), objectNamesToOids(), oidin_subr(), oidvectorin(), oidvectorrecv(), okeys_array_start(), okeys_scalar(), on_proc_exit(), on_shmem_exit(), OnConflict_CheckForSerializationFailure(), op_error(), opaque_in(), opaque_out(), OpClassCacheLookup(), OpenPipeStream(), OperatorCreate(), OperatorShellMake(), OpFamilyCacheLookup(), page_header(), PageAddItem(), PageIndexMultiDelete(), PageIndexTupleDelete(), PageRepairFragmentation(), parse_affentry(), parse_basebackup_options(), parse_extension_control_file(), parse_fcall_arguments(), parse_fcall_arguments_20(), parse_func_options(), parse_hba_auth_opt(), parse_hba_line(), parse_ident_line(), parse_one_reloption(), parse_re_flags(), parseCheckAggregates(), ParseFuncOrColumn(), parseIntFromText(), parseNameAndArgTypes(), parseRelOptions(), parserOpenTable(), parsetext(), parsetinterval(), parseTypeString(), parseXidFromText(), path_add(), path_center(), path_encode(), path_in(), path_poly(), path_recv(), PathNameOpenFile(), perform_base_backup(), perform_default_encoding_conversion(), PerformCursorOpen(), PerformPortalClose(), PerformPortalFetch(), PersistHoldablePortal(), pg_any_to_server(), pg_armor(), pg_atoi(), pg_attribute_aclmask(), pg_available_extension_versions(), pg_available_extensions(), pg_backup_start_time(), pg_cancel_backend(), pg_char_to_encname_struct(), pg_class_aclmask(), pg_class_ownercheck(), pg_collation_for(), pg_collation_ownercheck(), pg_conversion_ownercheck(), pg_convert(), pg_create_restore_point(), pg_crypt(), pg_current_xlog_insert_location(), pg_current_xlog_location(), pg_cursor(), pg_database_aclmask(), pg_database_ownercheck(), pg_dearmor(), pg_decrypt(), pg_decrypt_iv(), pg_do_encoding_conversion(), pg_encrypt(), pg_encrypt_iv(), pg_event_trigger_dropped_objects(), pg_event_trigger_ownercheck(), pg_extension_config_dump(), pg_extension_ownercheck(), pg_extension_update_paths(), pg_foreign_data_wrapper_ownercheck(), pg_foreign_server_ownercheck(), pg_freespace(), pg_gen_salt(), pg_gen_salt_rounds(), pg_get_functiondef(), pg_get_multixact_members(), pg_get_serial_sequence(), pg_is_xlog_replay_paused(), pg_language_aclmask(), pg_language_ownercheck(), pg_largeobject_aclmask_snapshot(), pg_largeobject_ownercheck(), pg_logdir_ls(), pg_ls_dir(), pg_namespace_aclmask(), pg_namespace_ownercheck(), pg_newlocale_from_collation(), pg_node_tree_in(), pg_node_tree_recv(), pg_opclass_ownercheck(), pg_oper_ownercheck(), pg_opfamily_ownercheck(), pg_prepared_statement(), pg_proc_aclmask(), pg_proc_ownercheck(), pg_random_bytes(), pg_read_binary_file(), pg_read_binary_file_all(), pg_read_file(), pg_read_file_all(), pg_reload_conf(), pg_relpages(), pg_rotate_logfile(), pg_sequence_parameters(), pg_set_regex_collation(), pg_stat_file(), pg_stat_get_wal_senders(), pg_stat_statements(), pg_stat_statements_reset(), pg_switch_xlog(), pg_tablespace_aclmask(), pg_tablespace_location(), pg_tablespace_ownercheck(), pg_terminate_backend(), pg_to_ascii(), pg_ts_config_ownercheck(), pg_ts_dict_ownercheck(), pg_type_ownercheck(), pg_xlog_location_diff(), pg_xlog_replay_pause(), pg_xlog_replay_resume(), pg_xlogfile_name(), pg_xlogfile_name_offset(), pgfdw_report_error(), pgfdw_xact_callback(), pgp_key_id_w(), pgstat_init(), pgstat_relation(), pgstat_reset_counters(), pgstat_reset_shared_counters(), pgstat_reset_single_counter(), pgstatginindex(), pgstatindex(), pgstattuple(), pgstattuplebyid(), pguuid_complain(), plperl_array_to_datum(), plperl_build_tuple_result(), plperl_create_sub(), plperl_func_handler(), plperl_modify_tuple(), plperl_return_next(), plperl_sv_to_datum(), plperl_trigger_handler(), plperl_validator(), plpgsql_build_variable(), plpgsql_exec_event_trigger(), plpgsql_exec_function(), plpgsql_exec_trigger(), plpgsql_parse_err_condition(), plpgsql_parse_wordrowtype(), plpgsql_post_column_ref(), plpgsql_recognize_err_condition(), plpgsql_resolve_polymorphic_argtypes(), plpgsql_validator(), PLy_elog(), PLy_exec_function(), PLy_exec_trigger(), PLy_function_build_args(), PLy_output_datum_func2(), PLy_procedure_create(), PLy_spi_prepare(), PLyGenericObject_ToComposite(), PLyList_FromArray(), PLyMapping_ToComposite(), PLyObject_ToDatum(), PLySequence_ToComposite(), point_div(), point_in(), poly_circle(), poly_distance(), poly_in(), poly_recv(), populate_recordset_array_element_start(), populate_recordset_array_start(), populate_recordset_object_field_start(), populate_recordset_object_start(), populate_recordset_scalar(), PortalDrop(), PortalRun(), PortalRunFetch(), PortalRunSelect(), PortalSetResultFormat(), postgres_fdw_validator(), PostgresMain(), postgresql_fdw_validator(), PostmasterMain(), PostPrepare_Locks(), pq_copymsgbytes(), pq_getmessage(), pq_getmsgbyte(), pq_getmsgbytes(), pq_getmsgend(), pq_getmsgstring(), pq_getmsgtext(), PreCommit_CheckForSerializationFailure(), PreCommit_Notify(), PreCommit_Portals(), predicatelock_twophase_recover(), PrefetchBuffer(), prepare_sql_fn_parse_info(), PrepareQuery(), PrepareTransaction(), prepTuplestoreResult(), PreventCommandDuringRecovery(), PreventCommandIfReadOnly(), PreventTransactionChain(), printtup_prepare_info(), ProcArrayAdd(), ProcedureCreate(), process_matched_tle(), process_owned_by(), process_postgres_switches(), ProcessCopyOptions(), ProcessGUCArray(), ProcessInterrupts(), ProcessRepliesIfAny(), ProcessStandbyMessage(), ProcessStartupPacket(), processTypesSpec(), ProcessWalRcvInterrupts(), prsd_headline(), prssyntaxerror(), pushquery(), PushTransaction(), pushval_asis(), pushValue(), pushValue_internal(), QualifiedNameGetCreationNamespace(), query_to_xml_internal(), queryin(), quickdie(), range_constructor3(), range_minus(), range_parse(), range_parse_bound(), range_parse_flags(), range_serialize(), range_union(), RangeVarAdjustRelationPersistence(), RangeVarCallbackForAlterRelation(), RangeVarCallbackForDropRelation(), RangeVarCallbackForLockTable(), RangeVarCallbackForReindexIndex(), RangeVarCallbackForRenameRule(), RangeVarCallbackForRenameTrigger(), RangeVarCallbackOwnsTable(), RangeVarGetAndCheckCreationNamespace(), RangeVarGetCreationNamespace(), RangeVarGetRelidExtended(), raw_heap_insert(), RE_compile(), RE_compile_and_cache(), RE_wchar_execute(), read_backup_label(), read_binary_file(), read_dictionary(), ReadArrayBinary(), ReadArrayStr(), ReadBuffer_common(), ReadBufferExtended(), readRecoveryCommandFile(), readstoplist(), ReassignOwnedObjects(), ReceiveCopyBegin(), recompute_limits(), record_cmp(), record_eq(), record_in(), record_recv(), recordDependencyOnCurrentExtension(), recursive_revoke(), recv_password_packet(), regclassin(), regex_fixed_prefix(), regexp_fixed_prefix(), RegisterBackgroundWorker(), RegisterTimeout(), regoperatorin(), regoperin(), regprocedurein(), regprocin(), regtypein(), reindex_index(), ReindexDatabase(), RelationGetBufferForTuple(), ReleaseOneSerializableXact(), ReleaseSavepoint(), reltime_interval(), RemoveExtensionById(), RemoveObjects(), RemoveRelations(), RemoveTriggerById(), RemoveUserMapping(), rename_constraint_internal(), renameatt_check(), renameatt_internal(), RenameConstraintById(), RenameDatabase(), RenameRelationInternal(), RenameRewriteRule(), RenameRole(), RenameSchema(), RenameTableSpace(), renametrig(), RenameType(), RenameTypeInternal(), repeat(), replace_rte_variables_mutator(), replace_text_regexp(), report_invalid_encoding(), report_invalid_token(), report_name_conflict(), report_namespace_conflict(), report_parse_error(), report_untranslatable_char(), reportDependentObjects(), requireSuperuser(), RequireTransactionChain(), resolve_column_ref(), resolve_generic_type(), restrict_and_check_grant(), RevalidateCachedQuery(), RewriteQuery(), rewriteRuleAction(), rewriteTargetView(), ri_CheckTrigger(), ri_FetchConstraintInfo(), RI_FKey_cascade_del(), RI_FKey_cascade_upd(), RI_FKey_check(), RI_FKey_fk_upd_check_required(), RI_FKey_pk_upd_check_required(), RI_FKey_setdefault_del(), RI_FKey_setdefault_upd(), RI_FKey_setnull_del(), RI_FKey_setnull_upd(), RI_Initial_Check(), ri_ReportViolation(), ri_restrict_del(), ri_restrict_upd(), RollbackToSavepoint(), rpad(), scanint8(), scanNameSpaceForRefname(), scanNameSpaceForRelid(), scanRTEForColumn(), secure_read(), secure_write(), select_common_collation(), select_common_type(), SendCopyBegin(), sendDir(), SendFunctionResult(), sepgsql_attribute_relabel(), sepgsql_avc_check_perms_label(), sepgsql_avc_init(), sepgsql_avc_unlabeled(), sepgsql_check_perms(), sepgsql_client_auth(), sepgsql_compute_avd(), sepgsql_compute_create(), sepgsql_get_label(), sepgsql_init_client_label(), sepgsql_mcstrans_in(), sepgsql_mcstrans_out(), sepgsql_object_relabel(), sepgsql_relation_relabel(), sepgsql_restorecon(), sepgsql_set_client_label(), sepgsql_utility_command(), set_config_by_name(), set_config_option(), set_max_safe_fds(), set_plan_references(), set_var_from_str(), SetPossibleUnsafeConflict(), SetRWConflict(), setSchemaName(), SetSerializableTransactionSnapshot(), SetSessionAuthorization(), SetTransactionSnapshot(), setup_regexp_matches(), SetUserIdAndContext(), SharedInvalBackendInit(), shdepDropOwned(), shdepLockAndCheckObject(), shdepReassignOwned(), shell_in(), shell_out(), ShmemAlloc(), ShmemInitStruct(), similar_escape(), SocketBackend(), sort(), spgdoinsert(), spgFormInnerTuple(), spgFormNodeTuple(), SPI_cursor_open_internal(), split_text(), sqrt_var(), standard_ProcessUtility(), StartAutovacuumWorker(), StartupXLOG(), storeOperators(), StorePreparedStatement(), storeProcedures(), storeRow(), str_initcap(), str_tolower(), str_toupper(), string2ean(), string_to_privilege(), string_to_uuid(), stringToQualifiedNameList(), substitute_libpath_macro(), suppress_redundant_updates_trigger(), SyncRepWaitForLSN(), TablespaceCreateDbspace(), tblspc_redo(), text_format(), text_format_append_string(), text_format_parse_digits(), text_format_parse_format(), text_format_string_conversion(), text_overlay(), text_substring(), textToQualifiedNameList(), thesaurus_init(), thesaurusRead(), tidin(), time_part(), time_recv(), timestamp2timestamptz(), timestamp_abstime(), timestamp_age(), timestamp_date(), timestamp_in(), timestamp_izone(), timestamp_mi(), timestamp_out(), timestamp_part(), timestamp_pl_interval(), timestamp_recv(), timestamp_time(), timestamp_to_char(), timestamp_trunc(), timestamp_zone(), timestamptz_abstime(), timestamptz_age(), timestamptz_date(), timestamptz_in(), timestamptz_izone(), timestamptz_out(), timestamptz_part(), timestamptz_pl_interval(), timestamptz_recv(), timestamptz_time(), timestamptz_timestamp(), timestamptz_timetz(), timestamptz_to_char(), timestamptz_trunc(), timestamptz_zone(), timetz_izone(), timetz_part(), timetz_recv(), timetz_zone(), tintervalrecv(), to_ascii_enc(), to_ascii_encname(), to_date(), to_json(), to_timestamp(), tokenize_file(), TopologicalSort(), TransactionIdIsInProgress(), transformAExprIn(), transformAExprNullIf(), transformAggregateCall(), transformArrayExpr(), transformArraySubscripts(), transformArrayType(), transformAssignedExpr(), transformAssignmentIndirection(), transformAssignmentSubscripts(), transformCollateClause(), transformColumnDefinition(), transformColumnNameList(), transformColumnRef(), transformColumnType(), transformConstraintAttrs(), transformCreateStmt(), transformCreateTableAsStmt(), transformDeclareCursorStmt(), transformDistinctClause(), transformDistinctOnClause(), transformFkeyCheckAttrs(), transformFkeyGetPrimaryKey(), transformFromClauseItem(), transformGenericOptions(), transformIndexConstraint(), transformIndexConstraints(), transformIndexStmt(), transformIndirection(), transformInsertRow(), transformLockingClause(), transformParamRef(), transformRelOptions(), transformRuleStmt(), transformSelectStmt(), transformSetOperationStmt(), transformSetOperationTree(), transformSubLink(), transformTableConstraint(), transformTableLikeClause(), transformTypeCast(), transformUpdateStmt(), transformValuesClause(), transformWindowDefinitions(), transformWindowFuncCall(), transformWithClause(), transformXmlExpr(), transformXmlSerialize(), translate(), trigger_in(), trigger_out(), triggered_change_notification(), truncate_check_rel(), truncate_identifier(), ts_headline_byid_opt(), ts_stat_sql(), tsquery_rewrite_query(), tsvector_concat(), tsvector_update_trigger(), tsvectorin(), tupledesc_match(), TypeCreate(), TypeGetTupleDesc(), typenameType(), typenameTypeMod(), unaccent_init(), unique_key_recheck(), unknown_attribute(), UserAbortTransactionBlock(), utf8_to_iso8859(), utf8_to_win(), vacuum_rel(), validate_ddl_tags(), validate_option_array_item(), validate_pkattnums(), validate_xlog_location(), validateCheckConstraint(), validateConnectbyTupleDesc(), validateDomainConstraint(), ValidatePgVersion(), varbit(), varbit_in(), varbit_recv(), varchar(), varchar_input(), variable_coerce_param_hook(), variable_paramref_hook(), varstr_cmp(), verify_dictoptions(), VirtualXactLock(), WalRcvFetchTimeLineHistoryFiles(), width_bucket_float8(), width_bucket_numeric(), win_to_utf8(), window_nth_value(), window_ntile(), X509_NAME_field_to_text(), XLogWalRcvProcessMsg(), xmlcomment(), xmlpi(), xmltotext_with_xmloption(), xmlvalidate(), xpath_table(), and xslt_process().

{
    return 0;                   /* return value does not matter */
}

int errcode_for_file_access ( void   ) 

Definition at line 130 of file ipc_test.c.

Referenced by _mdfd_getseg(), _mdnblocks(), AddToDataDirLockFile(), assign_xlog_sync_method(), BeginCopyFrom(), BeginCopyTo(), BootStrapXLOG(), calculate_database_size(), calculate_relation_size(), calculate_tablespace_size(), CancelBackup(), ChangeToDataDir(), checkDataDir(), CheckPointTwoPhase(), CheckXLogRemoved(), CleanupBackupHistory(), ClosePostmasterPorts(), copy_file(), copydir(), CopyGetData(), CopySendEndOfRow(), create_tablespace_directories(), CreateLockFile(), db_dir_size(), DebugFileOpen(), destroy_tablespace_directories(), do_pg_start_backup(), do_pg_stop_backup(), EndCopy(), EndPrepare(), ExecHashJoinGetSavedTuple(), ExecHashJoinNewBatch(), ExecHashJoinSaveTuple(), existsTimeLineHistory(), exitArchiveRecovery(), ExportSnapshot(), file_exists(), fileAnalyzeForeignTable(), fsync_fname(), getInstallationPaths(), InitPostgres(), InitPostmasterDeathWatchHandle(), InstallXLogFileSegment(), internal_load_library(), internal_unload_library(), issue_xlog_fsync(), KeepFileRestoredFromArchive(), lo_export(), lo_import_internal(), load_hba(), load_ident(), load_relmap_file(), logfile_open(), ltsReadBlock(), ltsWriteBlock(), mdcreate(), mdextend(), mdimmedsync(), mdnblocks(), mdopen(), mdpostckpt(), mdread(), mdsync(), mdtruncate(), mdunlinkfork(), mdwrite(), parse_extension_control_file(), perform_base_backup(), pg_backup_start_time(), pg_file_rename(), pg_file_unlink(), pg_file_write(), pg_logdir_ls(), pg_ls_dir(), pg_stat_file(), pg_tablespace_databases(), pg_tzenumerate_next(), pg_tzenumerate_start(), pgarch_archiveDone(), pgarch_readyXlog(), PGSharedMemoryCreate(), pgss_shmem_shutdown(), pgss_shmem_startup(), pgstat_read_db_statsfile(), pgstat_read_db_statsfile_timestamp(), pgstat_read_statsfiles(), pgstat_write_db_statsfile(), pgstat_write_statsfiles(), read_backup_label(), read_binary_file(), ReadControlFile(), ReadDir(), readRecoveryCommandFile(), readTimeLineHistory(), ReadTwoPhaseFile(), RecreateTwoPhaseFile(), register_dirty_segment(), RelationCacheInitFilePreInvalidate(), RemoveOldXlogFiles(), RemoveTwoPhaseFile(), RestoreArchivedFile(), scan_directory_ci(), sendDir(), sendFile(), sendTablespace(), SendTimeLineHistory(), SlruReportIOError(), StartupXLOG(), SysLogger_Start(), TablespaceCreateDbspace(), tokenize_inc_file(), UpdateControlFile(), ValidatePgVersion(), WalReceiverMain(), write_relcache_init_file(), write_relmap_file(), WriteControlFile(), WriteTempFileBlock(), writeTimeLineHistory(), writeTimeLineHistoryFile(), XLogArchiveForceDone(), XLogArchiveNotify(), XLogFileClose(), XLogFileCopy(), XLogFileInit(), XLogFileOpen(), XLogFileRead(), XLogFileReadAnyTLI(), XLogPageRead(), XLogRead(), XLogWalRcvWrite(), and XLogWrite().

{
    return 0;
}

int errdetail ( const char *  fmt,
  ... 
)

Definition at line 181 of file ipc_test.c.

Referenced by _bt_check_unique(), _PG_init(), AbortBufferIO(), AddEnumLabel(), AggregateCreate(), AllocSetAlloc(), AllocSetContextCreate(), AllocSetRealloc(), AlterExtensionNamespace(), AlterTableNamespace(), apply_typmod(), array_cat(), array_fill_internal(), asyncQueueFillWarning(), ATAddForeignKeyConstraint(), ATExecAddColumn(), ATExecAddInherit(), ATExecAlterColumnType(), ATExecChangeOwner(), build_tuplestore_recursively(), CancelBackup(), check_conn_params(), check_encoding_locale_matches(), check_exclusion_constraint(), check_primary_key(), check_sql_fn_retval(), check_valid_extension_name(), check_valid_version_name(), CheckAttributeType(), checkDataDir(), CheckMyDatabase(), CheckRecoveryConflictDeadlock(), choose_hashed_distinct(), choose_hashed_grouping(), choose_hashed_setop(), coerce_record_to_complex(), colNameToVar(), comparetup_index_btree(), compatConnectbyTupleDescs(), compatCrosstabTupleDescs(), compute_return_type(), ComputeIndexAttrs(), connect_pg_server(), convert_tuples_by_name(), convert_tuples_by_position(), copy_heap_data(), createdb(), CreateRestartPoint(), CreateSchemaCommand(), CreateTableSpace(), CreateTrigger(), crosstab(), dblink_connstr_check(), dblink_fdw_validator(), dblink_security_check(), DefineOpClass(), DefineOperator(), enforce_generic_type_consistency(), enlargeStringInfo(), EnumValuesCreate(), errdetail_abort(), errdetail_busy_db(), errdetail_execute(), errdetail_params(), errdetail_recovery_conflict(), EvaluateParams(), exec_assign_value(), exec_eval_datum(), exec_get_datum_type(), exec_get_datum_type_info(), exec_stmt_return_next(), ExecCheckPlanOutput(), ExecConstraints(), ExecEvalArray(), ExecEvalFieldSelect(), ExecEvalScalarVar(), ExecEvalWholeRowSlow(), ExecEvalWholeRowVar(), FloatExceptionHandler(), from_char_parse_int_len(), from_char_seq_search(), from_char_set_int(), generate_recursion_plan(), generateClonedIndexStmt(), get_crosstab_tuplestore(), getid(), GetSerializableTransactionSnapshot(), GetSerializableTransactionSnapshotInt(), gistbulkdelete(), gistdoinsert(), gistValidateBufferingOption(), heap_truncate_check_FKs(), hlparsetext(), incompatible_module_error(), InitPgFdwOptions(), InitPostgres(), InternalIpcMemoryCreate(), InternalIpcSemaphoreCreate(), json_lex_string(), lazy_cleanup_index(), lazy_scan_heap(), lazy_truncate_heap(), lazy_vacuum_heap(), lazy_vacuum_index(), libpqrcv_identify_system(), libpqrcv_readtimelinehistoryfile(), LogChildExit(), lquery_in(), ltree_in(), ltxtq_out(), make_pathkeys_for_window(), make_row_comparison_op(), map_sql_value_to_xml_value(), MergeAttributes(), namerecv(), network_in(), network_recv(), NUMDesc_prepare(), parse_one_reloption(), parserOpenTable(), parsetext(), perform_default_encoding_conversion(), pg_do_encoding_conversion(), pgarch_archiveXlog(), PGSharedMemoryCreate(), plpgsql_post_column_ref(), PLy_exec_function(), PLy_exec_trigger(), PLy_output_datum_func2(), PLyList_FromArray(), ProcedureCreate(), queryin(), quickdie(), range_parse(), range_parse_bound(), ReadControlFile(), record_in(), RegisterBackgroundWorker(), RenameSchema(), RenameTableSpace(), report_invalid_token(), report_parse_error(), reportDependentObjects(), RI_FKey_check(), RI_Initial_Check(), ri_ReportViolation(), scanNameSpaceForRefname(), scanNameSpaceForRelid(), set_max_safe_fds(), SetTransactionSnapshot(), SlruReportIOError(), SPI_cursor_open_internal(), StartReplication(), StartupXLOG(), SyncRepWaitForLSN(), transformAggregateCall(), transformDeclareCursorStmt(), transformIndexConstraint(), transformSetOperationStmt(), transformTableLikeClause(), tupledesc_match(), vac_truncate_clog(), validateConnectbyTupleDesc(), ValidatePgVersion(), variable_coerce_param_hook(), WalReceiverMain(), write_relcache_init_file(), xmlpi(), and xpath_table().

{
    fprintf(stderr, "DETAIL: %s\n", fmt);
    return 0;                   /* return value does not matter */
}

int errdetail_log ( const char *  fmt,
  ... 
)

Definition at line 188 of file ipc_test.c.

Referenced by auth_failed(), DeadLockReport(), DropRole(), ProcSleep(), and reportDependentObjects().

{
    fprintf(stderr, "DETAIL: %s\n", fmt);
    return 0;                   /* return value does not matter */
}

void errfinish ( int  dummy,
  ... 
)

Definition at line 143 of file ipc_test.c.

Referenced by elog_finish(), and pg_re_throw().

{
    proc_exit(1);
}

int errhint ( const char *  fmt,
  ... 
)

Definition at line 195 of file ipc_test.c.

Referenced by _bt_buildadd(), _bt_check_unique(), _bt_checkpage(), _bt_findinsertloc(), _hash_checkpage(), _hash_doinsert(), _PG_init(), aclparse(), addTargetToSortList(), AlterEventTriggerOwner_internal(), AlterForeignDataWrapper(), AlterForeignDataWrapperOwner_internal(), AlterTypeNamespace_oid(), AlterTypeNamespaceInternal(), AlterTypeOwner(), analyzeCTE(), assign_collations_walker(), asyncQueueFillWarning(), AtEOSubXact_SPI(), AtEOXact_SPI(), ATExecChangeOwner(), ATPrepAlterColumnType(), autovac_init(), BeginCopyTo(), build_column_default(), call_bool_check_hook(), call_enum_check_hook(), call_int_check_hook(), call_real_check_hook(), call_string_check_hook(), check_stack_depth(), CheckAttributeType(), checkDataDir(), CheckForSerializableConflictIn(), CheckForSerializableConflictOut(), CheckMyDatabase(), CheckpointerMain(), CheckRequiredParameterValues(), CheckValidResultRel(), compileTheLexeme(), ComputeIndexAttrs(), connect_pg_server(), cookDefault(), CopyReadLineText(), create_tablespace_directories(), createdb(), CreateEventTrigger(), CreateForeignDataWrapper(), CreateFunction(), CreateLockFile(), CreatePredicateLock(), CreateProceduralLanguage(), CreateTableSpace(), DateTimeParseError(), dblink_fdw_validator(), dblink_res_error(), dblink_security_check(), DeadLockReport(), DefineQueryRewrite(), DefineVirtualRelation(), do_compile(), do_pg_start_backup(), do_pg_stop_backup(), do_to_timestamp(), DoCopy(), DropErrorMsgWrongType(), errorMissingColumn(), errorMissingRTE(), EvaluateParams(), exec_prepare_plan(), exec_stmt_case(), exec_stmt_dynexecute(), exec_stmt_execsql(), exec_stmt_raise(), ExecDelete(), ExecGrant_Language(), ExecGrant_Type(), ExecOpenScanRelation(), ExecUpdate(), execute_extension_script(), ExecuteDoStmt(), FastPathGetRelationLockEntry(), file_fdw_validator(), find_typed_table_dependencies(), findDependentObjects(), findRangeSubOpclass(), forkname_to_number(), from_char_parse_int_len(), from_char_set_mode(), Generic_Text_IC_like(), get_raw_page(), get_rewrite_oid_without_relid(), get_sort_group_operators(), GetCurrentDict(), GetIndexOpClass(), getInstallationPaths(), GetNewMultiXactId(), GetNewTransactionId(), GetSerializableTransactionSnapshot(), GetTupleForTrigger(), ginNewScanKey(), gistbulkdelete(), gistcheckpage(), gistdoinsert(), gistUserPicksplit(), heap_create_with_catalog(), heap_truncate_check_FKs(), InitPostgres(), internal_load_library(), InternalIpcMemoryCreate(), InternalIpcSemaphoreCreate(), intorel_startup(), IpcSemaphoreInitialize(), like_fixed_prefix(), lo_export(), lo_import_internal(), lock_twophase_recover(), LockAcquireExtended(), LockGXact(), LogChildExit(), ltsWriteBlock(), make_row_comparison_op(), MarkAsPreparing(), mdextend(), mdwrite(), MergeAttributes(), movedb(), OldSerXidAdd(), OnConflict_CheckForSerializationFailure(), op_error(), parse_hba_auth_opt(), parse_hba_line(), ParseFuncOrColumn(), parserOpenTable(), pg_create_restore_point(), pg_current_xlog_insert_location(), pg_current_xlog_location(), pg_is_xlog_replay_paused(), pg_set_regex_collation(), pg_switch_xlog(), pg_xlog_replay_pause(), pg_xlog_replay_resume(), pg_xlogfile_name(), pg_xlogfile_name_offset(), pgarch_archiveXlog(), pgfdw_report_error(), PGSharedMemoryCreate(), pgstat_reset_shared_counters(), PLy_elog(), PLyGenericObject_ToComposite(), PLyMapping_ToComposite(), PortalRunSelect(), postgres_fdw_validator(), postgresql_fdw_validator(), PreCommit_CheckForSerializationFailure(), ProcedureCreate(), process_owned_by(), process_postgres_switches(), ProcessInterrupts(), quickdie(), range_parse_flags(), RangeVarCallbackForAlterRelation(), ReadBuffer_common(), ReadControlFile(), readRecoveryCommandFile(), readTimeLineHistory(), recoveryPausesHere(), recursive_revoke(), regoperatorin(), ReleaseOneSerializableXact(), RemoveObjects(), RenameType(), reportDependentObjects(), RequestCheckpoint(), RewriteQuery(), rewriteTargetView(), ri_FetchConstraintInfo(), ri_ReportViolation(), select_common_collation(), sendDir(), set_config_option(), SetMultiXactIdLimit(), SetPossibleUnsafeConflict(), SetRWConflict(), SetTransactionIdLimit(), similar_escape(), spgdoinsert(), spgFormInnerTuple(), StartupXLOG(), str_initcap(), str_tolower(), str_toupper(), StreamServerPort(), tblspc_redo(), transformArrayExpr(), transformArraySubscripts(), transformAssignedExpr(), transformAssignmentIndirection(), transformInsertRow(), transformSetOperationStmt(), vacuum_set_xid_limits(), ValidatePgVersion(), varstr_cmp(), and VirtualXactLock().

{
    fprintf(stderr, "HINT: %s\n", fmt);
    return 0;                   /* return value does not matter */
}

int errmsg ( const char *  fmt,
  ... 
)

Definition at line 167 of file ipc_test.c.

Referenced by __attribute__(), _arrq_cons(), _bt_buildadd(), _bt_check_unique(), _bt_checkpage(), _bt_findinsertloc(), _bt_getroot(), _bt_getrootheight(), _bt_gettrueroot(), _hash_checkpage(), _hash_doinsert(), _hash_first(), _hash_initbitmap(), _intbig_in(), _intbig_out(), _lca(), _lt_q_regex(), _ltree_compress(), _mdfd_getseg(), _mdnblocks(), _PG_init(), _SPI_execute_plan(), AbortBufferIO(), abstime2tm(), abstime_date(), abstime_timestamp(), abstime_timestamptz(), aclcheck_error(), aclcheck_error_col(), aclinsert(), aclitemin(), aclparse(), aclremove(), acquire_sample_rows(), add_parameter_name(), add_reloption_kind(), add_size(), AddEnumLabel(), addFamilyMember(), addFlagValue(), AddQual(), addRangeTableEntryForCTE(), addRangeTableEntryForFunction(), addRangeTableEntryForJoin(), addRangeTableEntryForSubquery(), addRangeTableEntryForValues(), AddRelationNewConstraints(), AddRoleMems(), addTargetToSortList(), AddToDataDirLockFile(), AdjustIntervalForTypmod(), AdjustTimestampForTypmod(), AfterTriggerSetState(), AggregateCreate(), alen_object_start(), alen_scalar(), AllocateDir(), AllocateFile(), AllocateVfd(), AllocSetAlloc(), AllocSetContextCreate(), AllocSetRealloc(), AlterDatabase(), AlterDatabaseOwner(), AlterDomainAddConstraint(), AlterDomainDropConstraint(), AlterDomainNotNull(), AlterDomainValidateConstraint(), AlterEventTrigger(), AlterEventTriggerOwner(), AlterEventTriggerOwner_internal(), AlterEventTriggerOwner_oid(), AlterExtensionNamespace(), AlterForeignDataWrapper(), AlterForeignDataWrapperOwner(), AlterForeignDataWrapperOwner_internal(), AlterForeignDataWrapperOwner_oid(), AlterForeignServer(), AlterForeignServerOwner(), AlterForeignServerOwner_oid(), AlterFunction(), AlterObjectNamespace_internal(), AlterObjectRename_internal(), AlterOpFamily(), AlterOpFamilyAdd(), AlterOpFamilyDrop(), AlterRelationNamespaceInternal(), AlterRole(), AlterRoleSet(), AlterSchemaOwner(), AlterSequence(), AlterTableNamespace(), AlterTableSpaceOptions(), AlterTSConfiguration(), AlterTypeNamespace(), AlterTypeNamespace_oid(), AlterTypeNamespaceInternal(), AlterTypeOwner(), AlterUserMapping(), analyze_rel(), analyzeCTE(), analyzeCTETargetList(), any_in(), any_out(), anyarray_in(), anyarray_recv(), anybit_typmodin(), anychar_typmodin(), anyelement_in(), anyelement_out(), anyenum_in(), anynonarray_in(), anynonarray_out(), anyrange_in(), anytime_typmodin(), anytimestamp_typmodin(), apply_typmod(), ApplyExtensionUpdates(), array_agg_transfn(), array_cat(), array_cmp(), array_contain_compare(), array_eq(), array_fill(), array_fill_internal(), array_fill_with_lower_bounds(), array_get_slice(), array_in(), array_iterator(), array_map(), array_push(), array_recv(), array_replace_internal(), array_send(), array_set(), array_set_slice(), array_to_datum_internal(), ArrayCount(), ArrayGetIntegerTypmods(), ArrayGetNItems(), arrq_cons(), ascii(), assign_backendlist_entry(), assign_collations_walker(), assign_xlog_sync_method(), assignOperTypes(), assignProcTypes(), Async_Notify(), asyncQueueFillWarning(), ATAddCheckConstraint(), ATAddForeignKeyConstraint(), AtEOSubXact_SPI(), AtEOXact_SPI(), ATExecAddColumn(), ATExecAddConstraint(), ATExecAddIndexConstraint(), ATExecAddInherit(), ATExecAddOf(), ATExecAlterColumnGenericOptions(), ATExecAlterColumnType(), ATExecChangeOwner(), ATExecClusterOn(), ATExecColumnDefault(), ATExecDropColumn(), ATExecDropConstraint(), ATExecDropInherit(), ATExecDropNotNull(), ATExecDropOf(), ATExecGenericOptions(), ATExecSetNotNull(), ATExecSetOptions(), ATExecSetRelOptions(), ATExecSetStatistics(), ATExecSetStorage(), ATExecSetTableSpace(), ATExecValidateConstraint(), ATPrepAddColumn(), ATPrepAddInherit(), ATPrepAlterColumnType(), AtPrepare_Locks(), AtPrepare_Notify(), AtPrepare_RelationMap(), ATPrepDropColumn(), ATPrepSetStatistics(), ATPrepSetTableSpace(), ATRewriteTable(), ATRewriteTables(), ATSimplePermissions(), AtSubCommit_childXids(), ATWrongRelkindError(), auth_failed(), autoinc(), autovac_init(), AutoVacLauncherMain(), AutoVacWorkerMain(), AuxiliaryProcessMain(), b64_decode(), BackendInitialize(), BackendStartup(), BackgroundWorkerInitializeConnection(), BasicOpenFile(), BeginCopy(), BeginCopyFrom(), BeginCopyTo(), BeginTransactionBlock(), bgworker_die(), binary_decode(), binary_encode(), bit(), bit_and(), bit_in(), bit_or(), bit_overlay(), bit_recv(), bitgetbit(), bitsetbit(), bitsubstring(), bittoint4(), bittoint8(), bitxor(), boolin(), BootstrapToastTable(), BootStrapXLOG(), box_in(), bpchar(), bpchar_input(), bqarr_in(), bqarr_out(), bt_metap(), bt_page_items(), bt_page_stats(), build_column_default(), build_datatype(), build_row_from_class(), build_tuplestore_recursively(), BuildDescForRelation(), buildRelationAliases(), buildScalarFunctionAlias(), bytea_overlay(), bytea_substring(), byteaGetBit(), byteaGetByte(), byteain(), byteaSetBit(), byteaSetByte(), calc_rank_cd(), calculate_database_size(), calculate_relation_size(), calculate_tablespace_size(), call_bool_check_hook(), call_enum_check_hook(), call_int_check_hook(), call_real_check_hook(), call_string_check_hook(), CancelBackup(), cash_dist(), cash_div_cash(), cash_div_flt4(), cash_div_flt8(), cash_div_int2(), cash_div_int4(), cash_div_int8(), cash_in(), changeDependencyFor(), ChangeToDataDir(), check_acl(), check_agg_arguments(), check_agg_arguments_walker(), check_circularity(), check_conn_params(), check_default_tablespace(), check_encoding_locale_matches(), check_exclusion_constraint(), check_for_column_name_collision(), check_foreign_key(), check_hostname(), check_ident_usermap(), check_index_is_clusterable(), check_is_member_of_role(), check_object_ownership(), check_of_type(), check_parameter_resolution_walker(), check_password(), check_primary_key(), check_relation_privileges(), check_restricted_library_name(), check_sql_fn_retval(), check_stack_depth(), check_temp_tablespaces(), check_TSCurrentConfig(), check_ungrouped_columns_walker(), check_usermap(), check_valid_extension_name(), check_valid_version_name(), CheckArchiveTimeout(), CheckAttributeNamesTypes(), CheckAttributeType(), checkDataDir(), checkDomainOwner(), checkEnumOwner(), checkExprIsVarFree(), CheckForSerializableConflictIn(), CheckForSerializableConflictOut(), CheckForStandbyTrigger(), CheckIndexCompatible(), checkInsertTargets(), CheckMyDatabase(), checkNameSpaceConflicts(), CheckPointTwoPhase(), CheckPredicate(), CheckRADIUSAuth(), CheckRecoveryConflictDeadlock(), CheckRecoveryConsistency(), CheckRelationOwnership(), CheckRequiredParameterValues(), CheckRestrictedOperation(), checkRuleResultList(), CheckSelectLocking(), CheckSetNamespace(), checkSharedDependencies(), CheckTableNotInUse(), checkTargetlistEntrySQL92(), checkTimeLineSwitch(), CheckValidResultRel(), CheckValidRowMarkRel(), checkViewTupleDesc(), checkWellFormedRecursion(), checkWellFormedRecursionWalker(), CheckXLogRemoved(), chkpass_in(), choose_hashed_distinct(), choose_hashed_grouping(), choose_hashed_setop(), chr(), cidr_abbrev(), cidr_set_masklen(), circle_in(), circle_out(), circle_poly(), circle_recv(), clean_fakeval(), CleanupBackupHistory(), ClientAuthentication(), close_lb(), ClosePipeToProgram(), cluster(), cluster_rel(), coerce_record_to_complex(), coerce_to_boolean(), coerce_to_common_type(), coerce_to_specific_type(), CollationCreate(), colNameToVar(), CommandCounterIncrement(), CommentObject(), CompactCheckpointerRequestQueue(), comparetup_index_btree(), compatConnectbyTupleDescs(), compatCrosstabTupleDescs(), compatible_oper(), compile_plperl_function(), compile_pltcl_function(), compileTheLexeme(), compileTheSubstitute(), complex_in(), compute_attributes_sql_style(), compute_attributes_with_style(), compute_common_attribute(), compute_return_type(), ComputeIndexAttrs(), concat_internal(), ConnCreate(), connect_pg_server(), connectby_text(), connectby_text_serial(), construct_md_array(), ConversionCreate(), convert_and_check_filename(), convert_any_priv_string(), convert_column_name(), convert_function_name(), convert_priv_string(), convert_type_name(), ConvertTriggerToFK(), cookConstraint(), cookDefault(), copy_file(), copy_heap_data(), copy_relation_data(), copydir(), CopyFrom(), CopyGetAttnums(), CopyGetData(), CopyReadAttributesCSV(), CopyReadAttributesText(), CopyReadBinaryAttribute(), CopyReadLineText(), CopySendEndOfRow(), count_agg_clauses_walker(), count_nondeletable_pages(), count_usable_fds(), create_proc_lang(), create_singleton_array(), create_tablespace_directories(), create_toast_table(), CreateCast(), CreateCheckPoint(), CreateConversionCommand(), createdb(), CreateEventTrigger(), CreateExtension(), CreateForeignDataWrapper(), CreateForeignServer(), CreateFunction(), CreateLockFile(), createNewConnection(), CreateOpFamily(), CreatePortal(), CreatePredicateLock(), CreateProceduralLanguage(), CreateRestartPoint(), CreateRole(), CreateSchemaCommand(), CreateTableSpace(), CreateTrigger(), CreateUserMapping(), crosstab(), crosstab_hash(), cube_a_f8(), cube_a_f8_f8(), cube_subset(), currval_oid(), cursor_to_xml(), cursor_to_xmlschema(), dacos(), dasin(), datan(), datan2(), date2timestamp(), date2timestamptz(), date_in(), date_mi(), date_recv(), DateTimeParseError(), datumGetSize(), db_dir_size(), dbase_redo(), dblink_build_sql_delete(), dblink_build_sql_insert(), dblink_build_sql_update(), dblink_connect(), dblink_connstr_check(), dblink_exec(), dblink_fdw_validator(), dblink_fetch(), dblink_res_error(), dblink_security_check(), DCH_from_char(), dcos(), dcot(), DeadLockReport(), DebugFileOpen(), DecodeDateTime(), DecodeTimeOnly(), deconstruct_array(), DeconstructQualifiedName(), decrypt_internal(), defGetBoolean(), defGetInt64(), defGetNumeric(), defGetQualifiedName(), defGetString(), defGetTypeLength(), defGetTypeName(), define_custom_variable(), DefineAggregate(), DefineCollation(), DefineCompositeType(), DefineDomain(), DefineEnum(), DefineIndex(), DefineOpClass(), DefineOperator(), DefineOpFamily(), DefineQueryRewrite(), DefineRange(), DefineRelation(), DefineSequence(), DefineTSConfiguration(), DefineTSDictionary(), DefineTSParser(), DefineTSTemplate(), DefineType(), DefineView(), DefineVirtualRelation(), deflist_to_tuplestore(), deleteConnection(), DelRoleMems(), deserialize_deflist(), destroy_tablespace_directories(), dintdict_init(), dispell_init(), dist_lb(), div_var(), div_var_fast(), dlog1(), dlog10(), do_analyze_rel(), do_autovacuum(), do_compile(), do_pg_start_backup(), do_pg_stop_backup(), do_setval(), do_to_timestamp(), DoCopy(), does_not_exist_skipping(), domain_check_input(), domain_state_setup(), domainAddConstraint(), dpow(), DropConfigurationMapping(), dropdb(), DropErrorMsgNonExistent(), DropErrorMsgWrongType(), dropOperators(), DropOwnedObjects(), dropProcedures(), DropRole(), DropTableSpace(), dsimple_init(), dsin(), dsnowball_init(), dsqrt(), dsynonym_init(), dtan(), dtoi2(), dtoi4(), dtoi8(), dummy_object_relabel(), dxsyn_init(), each_array_start(), each_scalar(), each_worker(), ean2isn(), ean2string(), ECPGconnect(), elements_object_start(), elements_scalar(), EmitWarningsOnPlaceholders(), EnableDisableRule(), EnableDisableTrigger(), encrypt_internal(), EndCopy(), EndPrepare(), EndTransactionBlock(), enforce_generic_type_consistency(), enlargeStringInfo(), enum_cmp_internal(), enum_first(), enum_in(), enum_last(), enum_out(), enum_range_all(), enum_range_bounds(), enum_recv(), enum_send(), EnumValuesCreate(), error_duplicate_filter_variable(), errorMissingColumn(), errorMissingRTE(), esc_dec_len(), esc_decode(), EvalPlanQualFetch(), EvaluateParams(), event_trigger_in(), event_trigger_out(), examine_parameter_list(), exec_assign_value(), exec_bind_message(), exec_describe_portal_message(), exec_describe_statement_message(), exec_dynquery_with_params(), exec_eval_datum(), exec_eval_expr(), exec_execute_message(), exec_get_datum_type(), exec_get_datum_type_info(), exec_init_tuple_store(), exec_object_restorecon(), exec_parse_message(), exec_prepare_plan(), exec_run_select(), exec_simple_query(), exec_stmt_block(), exec_stmt_case(), exec_stmt_close(), exec_stmt_dynexecute(), exec_stmt_execsql(), exec_stmt_fetch(), exec_stmt_forc(), exec_stmt_foreach_a(), exec_stmt_fori(), exec_stmt_getdiag(), exec_stmt_open(), exec_stmt_raise(), exec_stmt_return(), exec_stmt_return_next(), exec_stmt_return_query(), ExecAlterDefaultPrivilegesStmt(), ExecAlterExtensionContentsStmt(), ExecAlterExtensionStmt(), ExecBSDeleteTriggers(), ExecBSInsertTriggers(), ExecBSTruncateTriggers(), ExecBSUpdateTriggers(), ExecCallTriggerFunc(), ExecCheckPlanOutput(), ExecConstraints(), execCurrentOf(), ExecDelete(), ExecEvalArray(), ExecEvalArrayRef(), ExecEvalCoerceToDomain(), ExecEvalCurrentOfExpr(), ExecEvalDistinct(), ExecEvalFieldSelect(), ExecEvalFuncArgs(), ExecEvalNullIf(), ExecEvalParamExtern(), ExecEvalScalarArrayOp(), ExecEvalScalarVar(), ExecEvalWholeRowSlow(), ExecEvalWholeRowVar(), ExecGrant_Language(), ExecGrant_Relation(), ExecGrant_Type(), ExecHashJoinGetSavedTuple(), ExecHashJoinNewBatch(), ExecHashJoinSaveTuple(), ExecInitAgg(), ExecInitExpr(), ExecInitMergeJoin(), ExecLockRows(), ExecMakeFunctionResult(), ExecMakeTableFunctionResult(), ExecOpenScanRelation(), ExecPrepareTuplestoreResult(), ExecRefreshMatView(), ExecScanSubPlan(), ExecSecLabelStmt(), ExecSetParamPlan(), ExecSetVariableStmt(), ExecTargetList(), ExecUpdate(), execute_extension_script(), execute_sql_string(), ExecuteDoStmt(), ExecuteGrantStmt(), ExecuteQuery(), ExecuteRecoveryCommand(), ExecuteTruncate(), ExecWindowAgg(), existsTimeLineHistory(), exitArchiveRecovery(), exp_var(), expand_col_privileges(), ExpandAllTables(), ExpandColumnRefStar(), explain_ExecutorEnd(), ExplainQuery(), ExportSnapshot(), exprType(), FastPathGetRelationLockEntry(), fdw_handler_in(), fdw_handler_out(), fetch_cursor_param_value(), fetch_finfo_record(), fetch_fp_info(), FetchPreparedStatement(), file_acquire_sample_rows(), file_exists(), file_fdw_validator(), fileAnalyzeForeignTable(), FileClose(), FileWrite(), find_composite_type_dependencies(), find_in_dynamic_libpath(), find_provider(), find_typed_table_dependencies(), find_window_functions_walker(), findDependentObjects(), findRangeCanonicalFunction(), findRangeSubOpclass(), findRangeSubtypeDiffFunction(), findTargetlistEntrySQL92(), findTypeAnalyzeFunction(), findTypeInputFunction(), findTypeOutputFunction(), findTypeReceiveFunction(), findTypeSendFunction(), findTypeTypmodinFunction(), findTypeTypmodoutFunction(), FinishPreparedTransaction(), fireRIRrules(), fixed_paramref_hook(), flatten_set_variable_args(), float48div(), float4div(), float4in(), float84div(), float8div(), float8in(), FloatExceptionHandler(), fmgr(), fmgr_info_cxt_security(), fmgr_internal_validator(), fmgr_oldstyle(), fmgr_sql(), fmgr_sql_validator(), forbidden_in_wal_sender(), forkname_to_number(), free_parsestate(), from_char_parse_int_len(), from_char_seq_search(), from_char_set_int(), from_char_set_mode(), fsm_page_contents(), fsync_fname(), ftoi2(), ftoi4(), ftoi8(), gbtreekey_in(), gbtreekey_out(), generate_recursion_plan(), generate_series_step_int4(), generate_series_step_int8(), generate_series_timestamp(), generate_series_timestamptz(), generateClonedIndexStmt(), Generic_Text_IC_like(), get_agg_expr(), get_am_oid(), get_array_start(), get_cast_oid(), get_collation_oid(), get_conversion_oid(), get_crosstab_tuplestore(), get_database_oid(), get_domain_constraint_oid(), get_event_trigger_oid(), get_extension_oid(), get_foreign_data_wrapper_oid(), get_foreign_server_oid(), get_func_expr(), get_hex(), get_language_oid(), get_namespace_oid(), get_object_address(), get_object_address_attribute(), get_object_address_type(), get_object_address_unqualified(), get_object_start(), get_other_operator(), get_path_all(), get_range_io_data(), get_raw_page(), get_raw_page_internal(), get_relation_by_qualified_name(), get_relation_constraint_oid(), get_relation_info(), get_rewrite_oid(), get_rewrite_oid_without_relid(), get_role_oid(), get_rte_attribute_type(), get_scalar(), get_sort_group_operators(), get_sql_insert(), get_sql_update(), get_tablespace_oid(), get_th(), get_trigger_oid(), get_ts_config_oid(), get_ts_dict_oid(), get_ts_parser_func(), get_ts_parser_oid(), get_ts_template_func(), get_ts_template_oid(), get_tsearch_config_filename(), get_tuple_of_interest(), get_windowfunc_expr(), GetColumnDefCollation(), GetConfigOption(), GetConfigOptionByName(), GetConfigOptionResetString(), GetConflictingVirtualXIDs(), GetCurrentDict(), GetDefaultOpClass(), GetFdwRoutineByRelId(), getid(), GetIndexOpClass(), getInstallationPaths(), GetMultiXactIdMembers(), GetNewMultiXactId(), GetNewTransactionId(), GetOldFunctionMessage(), GetRunningTransactionData(), GetSafeSnapshot(), GetSerializableTransactionSnapshot(), GetSerializableTransactionSnapshotInt(), GetSnapshotData(), gettoken_query(), gettoken_tsvector(), getTokenTypes(), GetTupleForTrigger(), getTypeBinaryInputInfo(), getTypeBinaryOutputInfo(), getTypeInputInfo(), getTypeOutputInfo(), GetUserMapping(), GetUserNameFromId(), getWeights(), GinFormTuple(), ginNewScanKey(), gistbulkdelete(), gistcheckpage(), gistdoinsert(), gistUserPicksplit(), gistValidateBufferingOption(), GrantRole(), grouping_planner(), gtsvectorin(), guc_malloc(), guc_realloc(), guc_strdup(), HandleChildCrash(), HandleFunctionRequest(), has_rolcatupdate(), has_sequence_privilege_id(), has_sequence_privilege_id_id(), has_sequence_privilege_id_name(), has_sequence_privilege_name(), has_sequence_privilege_name_id(), has_sequence_privilege_name_name(), hash_array(), hash_array_start(), hash_create(), hash_object_field_start(), hash_range(), hash_scalar(), hash_search_with_hash_value(), heap_create_with_catalog(), heap_form_minimal_tuple(), heap_form_tuple(), heap_lock_tuple(), heap_open(), heap_openrv(), heap_openrv_extended(), heap_page_items(), heap_truncate_check_FKs(), hex_decode(), hlparsetext(), hstore_from_array(), hstore_from_arrays(), hstore_populate_record(), hstore_recv(), hstoreCheckKeyLen(), hstoreCheckValLen(), i4tochar(), i4toi2(), i8tooid(), ident_inet(), identify_update_path(), ImportSnapshot(), incompatible_module_error(), index_build(), index_check_primary_key(), index_constraint_create(), index_create(), index_drop(), index_form_tuple(), index_open(), inet_abbrev(), inet_set_masklen(), inetand(), inetmi(), inetor(), init_execution_state(), init_MultiFuncCall(), init_params(), init_sequence(), init_sql_fcache(), init_work(), InitBufferPoolAccess(), InitFileAccess(), initialize_peragg(), InitializeClientEncoding(), InitializeSessionUserId(), InitLocalBuffers(), InitPgFdwOptions(), InitPostgres(), InitPredicateLocks(), InitProcess(), InitProcGlobal(), initSuffixTree(), InitTempTableNamespace(), InitWalSenderSlot(), inner_subltree(), insert_username(), InsertRule(), InstallXLogFileSegment(), int24div(), int24mi(), int24mul(), int24pl(), int28div(), int28mi(), int28mul(), int28pl(), int2_dist(), int2abs(), int2div(), int2mi(), int2mod(), int2mul(), int2pl(), int2um(), int2vectorin(), int2vectorrecv(), int42div(), int42mi(), int42mul(), int42pl(), int48div(), int48mi(), int48mul(), int48pl(), int4_dist(), int4abs(), int4div(), int4inc(), int4mi(), int4mod(), int4mul(), int4pl(), int4um(), int82(), int82div(), int82mi(), int82mul(), int82pl(), int84(), int84div(), int84mi(), int84mul(), int84pl(), int8_dist(), int8abs(), int8div(), int8inc(), int8mi(), int8mod(), int8mul(), int8pl(), int8um(), internal_flush(), internal_get_result_type(), internal_in(), internal_inetpl(), internal_load_library(), internal_out(), internal_unload_library(), InternalIpcMemoryCreate(), InternalIpcSemaphoreCreate(), interpret_AS_clause(), interpretOidsOption(), interval_div(), interval_in(), interval_part(), interval_trunc(), intervaltypmodin(), intorel_startup(), inv_open(), inv_seek(), inv_write(), iso8859_to_utf8(), issue_xlog_fsync(), IsThereCollationInNamespace(), IsThereFunctionInNamespace(), IsThereOpClassInNamespace(), IsThereOpFamilyInNamespace(), json_agg_transfn(), json_array_elements(), json_lex_string(), json_populate_record(), json_populate_recordset(), KeepFileRestoredFromArchive(), language_handler_in(), language_handler_out(), LargeObjectDrop(), lastval(), lazy_cleanup_index(), lazy_scan_heap(), lazy_truncate_heap(), lazy_vacuum_heap(), lazy_vacuum_index(), lazy_vacuum_rel(), length_in_encoding(), levenshtein_internal(), libpq_select(), libpqrcv_connect(), libpqrcv_endstreaming(), libpqrcv_identify_system(), libpqrcv_readtimelinehistoryfile(), libpqrcv_receive(), libpqrcv_send(), libpqrcv_startstreaming(), like_fixed_prefix(), line_in(), line_out(), line_recv(), line_send(), ln_var(), lo_close(), lo_export(), lo_import_internal(), lo_lseek(), lo_lseek64(), lo_read(), lo_tell(), lo_tell64(), lo_truncate_internal(), lo_unlink(), lo_write(), load_categories_hash(), load_enum_cache_data(), load_external_function(), load_hba(), load_ident(), load_libraries(), load_relmap_file(), LocalBufferAlloc(), LocalToUtf(), locate_stem_module(), lock_twophase_recover(), LockAcquireExtended(), LockGXact(), LockTableRecurse(), log_disconnections(), LogChildExit(), logfile_open(), logfile_rotate(), lookup_agg_function(), lookup_fdw_handler_func(), lookup_rowtype_tupdesc_internal(), lookup_type_cache(), LookupAggNameTypeNames(), LookupFuncName(), LookupOperName(), LookupTypeName(), LookupTypeNameOid(), lowerstr_with_len(), lpad(), lquery_in(), lseg_in(), lt_q_regex(), ltree_gist_in(), ltree_gist_out(), ltree_in(), ltsReadBlock(), ltsWriteBlock(), ltxtq_out(), macaddr_in(), main(), make_absolute_path(), make_bound_box(), make_distinct_op(), make_join_rel(), make_op(), make_outerjoininfo(), make_pathkeys_for_window(), make_result(), make_row_comparison_op(), make_row_distinct_op(), make_ruledef(), make_scalar_array_op(), make_tsvector(), makeArrayTypeName(), makepol(), makeRangeVarFromNameList(), map_sql_value_to_xml_value(), MarkAsPreparing(), MatchText(), materializeResult(), md5_bytea(), md5_text(), mdcreate(), mdextend(), mdimmedsync(), mdnblocks(), mdopen(), mdpostckpt(), mdread(), mdsync(), mdtruncate(), mdunlinkfork(), mdwrite(), merge_acl_with_grant(), MergeAttributes(), MergeAttributesIntoExisting(), MergeCheckConstraint(), MergeConstraintsIntoExisting(), MergeWithExistingConstraint(), metaphone(), moddatetime(), movedb(), mul_size(), namerecv(), NamespaceCreate(), network_host(), network_in(), network_out(), network_recv(), network_show(), next_token(), NextCopyFrom(), nextval_internal(), NIAddAffix(), NIImportAffixes(), NIImportDictionary(), NIImportOOAffixes(), NUM_processor(), NUMDesc_prepare(), numeric_fac(), numeric_in(), numeric_int2(), numeric_int4(), numeric_int8(), numeric_power(), numeric_recv(), numeric_to_double_no_overflow(), numerictypmodin(), numericvar_to_double_no_overflow(), numericvar_to_int4(), objectNamesToOids(), oidin_subr(), oidvectorin(), oidvectorrecv(), okeys_array_start(), okeys_scalar(), OldSerXidAdd(), OnConflict_CheckForSerializationFailure(), op_error(), opaque_in(), opaque_out(), OpClassCacheLookup(), OpenPipeStream(), OperatorCreate(), OperatorShellMake(), OpFamilyCacheLookup(), page_header(), PageAddItem(), PageIndexMultiDelete(), PageIndexTupleDelete(), PageIsVerified(), PageRepairFragmentation(), parse_affentry(), parse_basebackup_options(), parse_extension_control_file(), parse_fcall_arguments(), parse_fcall_arguments_20(), parse_func_options(), parse_hba_auth_opt(), parse_hba_line(), parse_ident_line(), parse_one_reloption(), parse_re_flags(), parse_tsquery(), parseCheckAggregates(), ParseFuncOrColumn(), parseIntFromText(), parseNameAndArgTypes(), parseRelOptions(), parserOpenTable(), parsetext(), parsetinterval(), parseTypeString(), parseXidFromText(), path_add(), path_center(), path_encode(), path_in(), path_poly(), path_recv(), PathNameOpenFile(), perform_base_backup(), perform_default_encoding_conversion(), PerformAuthentication(), PerformCursorOpen(), PerformPortalClose(), PerformPortalFetch(), PersistHoldablePortal(), pg_any_to_server(), pg_armor(), pg_atoi(), pg_attribute_aclmask(), pg_available_extension_versions(), pg_available_extensions(), pg_backup_start_time(), pg_cancel_backend(), pg_char_to_encname_struct(), pg_class_aclmask(), pg_class_ownercheck(), pg_collation_for(), pg_collation_ownercheck(), pg_conversion_ownercheck(), pg_convert(), pg_create_restore_point(), pg_crypt(), pg_current_xlog_insert_location(), pg_current_xlog_location(), pg_cursor(), pg_database_aclmask(), pg_database_ownercheck(), pg_dearmor(), pg_decrypt(), pg_decrypt_iv(), pg_dlerror(), pg_do_encoding_conversion(), pg_encrypt(), pg_encrypt_iv(), pg_event_trigger_dropped_objects(), pg_event_trigger_ownercheck(), pg_extension_config_dump(), pg_extension_ownercheck(), pg_extension_update_paths(), pg_file_rename(), pg_file_unlink(), pg_file_write(), pg_foreign_data_wrapper_aclmask(), pg_foreign_data_wrapper_ownercheck(), pg_foreign_server_aclmask(), pg_foreign_server_ownercheck(), pg_freespace(), pg_gen_salt(), pg_gen_salt_rounds(), pg_get_functiondef(), pg_get_multixact_members(), pg_get_serial_sequence(), pg_is_xlog_replay_paused(), pg_language_aclmask(), pg_language_ownercheck(), pg_largeobject_aclmask_snapshot(), pg_largeobject_ownercheck(), pg_logdir_ls(), pg_ls_dir(), pg_namespace_aclmask(), pg_namespace_ownercheck(), pg_newlocale_from_collation(), pg_node_tree_in(), pg_node_tree_recv(), pg_opclass_ownercheck(), pg_oper_ownercheck(), pg_opfamily_ownercheck(), pg_prepared_statement(), pg_proc_aclmask(), pg_proc_ownercheck(), pg_random_bytes(), pg_read_binary_file(), pg_read_binary_file_all(), pg_read_file(), pg_read_file_all(), pg_reload_conf(), pg_relpages(), pg_rotate_logfile(), pg_sequence_parameters(), pg_set_regex_collation(), pg_signal_backend(), pg_stat_file(), pg_stat_get_wal_senders(), pg_stat_statements(), pg_stat_statements_reset(), pg_switch_xlog(), pg_tablespace_aclmask(), pg_tablespace_databases(), pg_tablespace_location(), pg_tablespace_ownercheck(), pg_terminate_backend(), pg_to_ascii(), pg_ts_config_ownercheck(), pg_ts_dict_ownercheck(), pg_type_aclmask(), pg_type_ownercheck(), pg_tzenumerate_next(), pg_tzenumerate_start(), pg_xlog_location_diff(), pg_xlog_replay_pause(), pg_xlog_replay_resume(), pg_xlogfile_name(), pg_xlogfile_name_offset(), pgarch_archiveDone(), pgarch_ArchiverCopyLoop(), pgarch_archiveXlog(), pgarch_readyXlog(), pgarch_start(), pgfdw_report_error(), pgfdw_xact_callback(), pgp_key_id_w(), PGSemaphoreCreate(), PGSemaphoreLock(), PGSemaphoreTryLock(), PGSemaphoreUnlock(), PGSharedMemoryCreate(), pgss_shmem_shutdown(), pgss_shmem_startup(), pgstat_init(), pgstat_read_db_statsfile(), pgstat_read_db_statsfile_timestamp(), pgstat_read_statsfiles(), pgstat_recv_dropdb(), pgstat_relation(), pgstat_reset_counters(), pgstat_reset_shared_counters(), pgstat_reset_single_counter(), pgstat_start(), pgstat_write_db_statsfile(), pgstat_write_statsfiles(), PgstatCollectorMain(), pgstatginindex(), pgstatindex(), pgstattuple(), pgstattuplebyid(), pguuid_complain(), pgwin32_create_signal_listener(), plperl_array_to_datum(), plperl_build_tuple_result(), plperl_call_perl_func(), plperl_call_perl_trigger_func(), plperl_create_sub(), plperl_func_handler(), plperl_init_interp(), plperl_modify_tuple(), plperl_return_next(), plperl_sv_to_datum(), plperl_trigger_handler(), plperl_trusted_init(), plperl_untrusted_init(), plperl_validator(), plpgsql_build_variable(), plpgsql_exec_event_trigger(), plpgsql_exec_function(), plpgsql_exec_trigger(), plpgsql_parse_err_condition(), plpgsql_parse_wordrowtype(), plpgsql_post_column_ref(), plpgsql_recognize_err_condition(), plpgsql_resolve_polymorphic_argtypes(), plpgsql_validator(), PLy_abort_open_subtransactions(), PLy_exec_function(), PLy_exec_trigger(), PLy_function_build_args(), PLy_modify_tuple(), PLy_output_datum_func2(), PLy_procedure_create(), PLy_spi_prepare(), PLyGenericObject_ToComposite(), PLyList_FromArray(), PLyMapping_ToComposite(), PLyObject_ToDatum(), PLySequence_ToComposite(), pmdie(), point_div(), point_in(), poly_circle(), poly_distance(), poly_in(), poly_recv(), populate_recordset_array_element_start(), populate_recordset_array_start(), populate_recordset_object_field_start(), populate_recordset_object_start(), populate_recordset_scalar(), PortalDrop(), PortalRun(), PortalRunFetch(), PortalRunSelect(), PortalSetResultFormat(), postgres_fdw_validator(), postgresAcquireSampleRowsFunc(), PostgresMain(), postgresql_fdw_validator(), PostmasterMain(), PostmasterStateMachine(), PostPrepare_Locks(), pq_copymsgbytes(), pq_getbyte_if_available(), pq_getmessage(), pq_getmsgbyte(), pq_getmsgbytes(), pq_getmsgend(), pq_getmsgstring(), pq_getmsgtext(), pq_recvbuf(), pq_set_nonblocking(), PreCommit_CheckForSerializationFailure(), PreCommit_Notify(), PreCommit_Portals(), predicatelock_twophase_recover(), PrefetchBuffer(), prepare_sql_fn_parse_info(), PrepareQuery(), PrepareTransaction(), prepTuplestoreResult(), PrescanPreparedTransactions(), PreventCommandDuringRecovery(), PreventCommandIfReadOnly(), PreventTransactionChain(), printtup_prepare_info(), ProcArrayAdd(), ProcedureCreate(), process_matched_tle(), process_owned_by(), process_postgres_switches(), processCancelRequest(), ProcessCopyOptions(), ProcessGUCArray(), ProcessInterrupts(), ProcessRepliesIfAny(), ProcessStandbyMessage(), ProcessStartupPacket(), processTypesSpec(), ProcessUtilitySlow(), ProcessWalRcvInterrupts(), ProcSleep(), prsd_headline(), prssyntaxerror(), pushquery(), PushTransaction(), pushval_asis(), pushValue(), pushValue_internal(), QualifiedNameGetCreationNamespace(), query_to_xml_internal(), queryin(), quickdie(), range_constructor3(), range_minus(), range_parse(), range_parse_bound(), range_parse_flags(), range_serialize(), range_union(), RangeVarAdjustRelationPersistence(), RangeVarCallbackForAlterRelation(), RangeVarCallbackForDropRelation(), RangeVarCallbackForLockTable(), RangeVarCallbackForReindexIndex(), RangeVarCallbackForRenameRule(), RangeVarCallbackForRenameTrigger(), RangeVarCallbackOwnsTable(), RangeVarGetAndCheckCreationNamespace(), RangeVarGetCreationNamespace(), RangeVarGetRelidExtended(), raw_heap_insert(), RE_compile(), RE_compile_and_cache(), RE_wchar_execute(), read_backup_label(), read_binary_file(), read_dictionary(), ReadArrayBinary(), ReadArrayStr(), ReadBuffer_common(), ReadBufferExtended(), ReadCheckpointRecord(), ReadControlFile(), ReadDir(), ReadRecord(), readRecoveryCommandFile(), readstoplist(), readTimeLineHistory(), ReadTwoPhaseFile(), reaper(), ReassignOwnedObjects(), ReceiveCopyBegin(), recompute_limits(), record_cmp(), record_eq(), record_in(), record_recv(), recordDependencyOnCurrentExtension(), RecoverPreparedTransactions(), recoveryPausesHere(), recoveryStopsHere(), RecreateTwoPhaseFile(), recursive_revoke(), recv_password_packet(), regclassin(), regex_fixed_prefix(), regexp_fixed_prefix(), register_dirty_segment(), RegisterBackgroundWorker(), RegisterTimeout(), regoperatorin(), regoperin(), regprocedurein(), regprocin(), regtypein(), reindex_index(), ReindexDatabase(), ReindexTable(), RelationCacheInitFilePreInvalidate(), RelationGetBufferForTuple(), ReleaseOneSerializableXact(), ReleaseSavepoint(), reltime_interval(), remove_dbtablespaces(), RemoveExtensionById(), RemoveObjects(), RemoveOldXlogFiles(), RemoveRelations(), RemoveTriggerById(), RemoveTwoPhaseFile(), RemoveUserMapping(), rename_constraint_internal(), renameatt(), renameatt_check(), renameatt_internal(), RenameConstraintById(), RenameDatabase(), RenameRelation(), RenameRelationInternal(), RenameRewriteRule(), RenameRole(), RenameSchema(), RenameTableSpace(), renametrig(), RenameType(), RenameTypeInternal(), repeat(), replace_rte_variables_mutator(), replace_text_regexp(), report_invalid_encoding(), report_invalid_token(), report_name_conflict(), report_namespace_conflict(), report_parse_error(), report_untranslatable_char(), reportDependentObjects(), RequestCheckpoint(), requireSuperuser(), RequireTransactionChain(), rescanLatestTimeLine(), resolve_column_ref(), resolve_generic_type(), RestoreArchivedFile(), restrict_and_check_grant(), RevalidateCachedQuery(), RewriteQuery(), rewriteRuleAction(), rewriteTargetView(), ri_CheckTrigger(), ri_FetchConstraintInfo(), RI_FKey_cascade_del(), RI_FKey_cascade_upd(), RI_FKey_check(), RI_FKey_fk_upd_check_required(), RI_FKey_pk_upd_check_required(), RI_FKey_setdefault_del(), RI_FKey_setdefault_upd(), RI_FKey_setnull_del(), RI_FKey_setnull_upd(), RI_Initial_Check(), ri_ReportViolation(), ri_restrict_del(), ri_restrict_upd(), RollbackToSavepoint(), rpad(), scan_directory_ci(), scanint8(), scanNameSpaceForRefname(), scanNameSpaceForRelid(), scanRTEForColumn(), secure_read(), secure_write(), select_common_collation(), select_common_type(), select_perl_context(), SendBaseBackup(), SendCopyBegin(), sendDir(), sendFile(), SendFunctionResult(), sendTablespace(), SendTimeLineHistory(), sepgsql_attribute_relabel(), sepgsql_audit_log(), sepgsql_avc_check_perms_label(), sepgsql_avc_init(), sepgsql_avc_unlabeled(), sepgsql_check_perms(), sepgsql_client_auth(), sepgsql_compute_avd(), sepgsql_compute_create(), sepgsql_get_label(), sepgsql_init_client_label(), sepgsql_mcstrans_in(), sepgsql_mcstrans_out(), sepgsql_object_relabel(), sepgsql_relation_relabel(), sepgsql_restorecon(), sepgsql_set_client_label(), sepgsql_utility_command(), ServerLoop(), set_config_by_name(), set_config_option(), set_max_safe_fds(), set_plan_references(), set_var_from_str(), SetMultiXactIdLimit(), SetPossibleUnsafeConflict(), SetRWConflict(), setSchemaName(), SetSerializableTransactionSnapshot(), SetSessionAuthorization(), SetTransactionIdLimit(), SetTransactionSnapshot(), setup_regexp_matches(), SetUserIdAndContext(), SharedInvalBackendInit(), shdepDropOwned(), shdepLockAndCheckObject(), shdepReassignOwned(), shell_in(), shell_out(), ShmemAlloc(), ShmemInitStruct(), show_debug(), ShutdownXLOG(), SIGHUP_handler(), sigusr1_handler(), similar_escape(), SimpleLruTruncate(), SlruPhysicalReadPage(), SlruReportIOError(), SlruScanDirCbDeleteAll(), SlruScanDirCbDeleteCutoff(), SocketBackend(), sort(), spgdoinsert(), spgFormInnerTuple(), spgFormNodeTuple(), SPI_cursor_open_internal(), split_text(), sqrt_var(), standard_ProcessUtility(), StandbyRecoverPreparedTransactions(), start_bgworker(), StartAutoVacLauncher(), StartAutovacuumWorker(), StartAutoVacWorker(), StartChildProcess(), StartReplication(), StartupXLOG(), storeOperators(), StorePreparedStatement(), storeProcedures(), storeRow(), str_initcap(), str_tolower(), str_toupper(), StreamConnection(), StreamServerPort(), string2ean(), string_to_privilege(), string_to_uuid(), stringToQualifiedNameList(), substitute_libpath_macro(), suppress_redundant_updates_trigger(), SyncRepInitConfig(), SyncRepReleaseWaiters(), SyncRepWaitForLSN(), SysLogger_Start(), SysLoggerMain(), TablespaceCreateDbspace(), tblspc_redo(), text_format(), text_format_append_string(), text_format_parse_digits(), text_format_parse_format(), text_format_string_conversion(), text_overlay(), text_substring(), textToQualifiedNameList(), thesaurus_init(), thesaurusRead(), throw_tcl_error(), tidin(), time_part(), time_recv(), timestamp2timestamptz(), timestamp_abstime(), timestamp_age(), timestamp_date(), timestamp_in(), timestamp_izone(), timestamp_mi(), timestamp_out(), timestamp_part(), timestamp_pl_interval(), timestamp_recv(), timestamp_time(), timestamp_to_char(), timestamp_trunc(), timestamp_zone(), timestamptz_abstime(), timestamptz_age(), timestamptz_date(), timestamptz_in(), timestamptz_izone(), timestamptz_out(), timestamptz_part(), timestamptz_pl_interval(), timestamptz_recv(), timestamptz_time(), timestamptz_timestamp(), timestamptz_timetz(), timestamptz_to_char(), timestamptz_trunc(), timestamptz_zone(), timetz_izone(), timetz_part(), timetz_recv(), timetz_zone(), tintervalrecv(), tliSwitchPoint(), to_ascii_enc(), to_ascii_encname(), to_date(), to_json(), to_timestamp(), tokenize_file(), tokenize_inc_file(), TopologicalSort(), TransactionIdIsInProgress(), transformAExprIn(), transformAExprNullIf(), transformAggregateCall(), transformAlterTableStmt(), transformArrayExpr(), transformArraySubscripts(), transformArrayType(), transformAssignedExpr(), transformAssignmentIndirection(), transformAssignmentSubscripts(), transformCollateClause(), transformColumnDefinition(), transformColumnNameList(), transformColumnRef(), transformColumnType(), transformConstraintAttrs(), transformCreateStmt(), transformCreateTableAsStmt(), transformDeclareCursorStmt(), transformDistinctClause(), transformDistinctOnClause(), transformFkeyCheckAttrs(), transformFkeyGetPrimaryKey(), transformFromClauseItem(), transformGenericOptions(), transformIndexConstraint(), transformIndexConstraints(), transformIndexStmt(), transformIndirection(), transformInsertRow(), transformLockingClause(), transformParamRef(), transformRelOptions(), transformRuleStmt(), transformSelectStmt(), transformSetOperationStmt(), transformSetOperationTree(), transformSubLink(), transformTableConstraint(), transformTableLikeClause(), transformTypeCast(), transformUpdateStmt(), transformValuesClause(), transformWindowDefinitions(), transformWindowFuncCall(), transformWithClause(), transformXmlExpr(), transformXmlSerialize(), translate(), trigger_in(), trigger_out(), triggered_change_notification(), truncate_check_rel(), truncate_identifier(), ts_headline_byid_opt(), ts_stat_sql(), tsquery_rewrite_query(), tsvector_concat(), tsvector_update_trigger(), tsvectorin(), tupledesc_match(), TypeCreate(), TypeGetTupleDesc(), typenameType(), typenameTypeMod(), unaccent_init(), unique_key_recheck(), unknown_attribute(), UpdateControlFile(), UpdateMinRecoveryPoint(), UserAbortTransactionBlock(), utf8_to_iso8859(), utf8_to_win(), vac_truncate_clog(), vacuum_rel(), vacuum_set_xid_limits(), validate_ddl_tags(), validate_option_array_item(), validate_pkattnums(), validate_xlog_location(), validateCheckConstraint(), validateConnectbyTupleDesc(), validateDomainConstraint(), validateForeignKeyConstraint(), ValidatePgVersion(), ValidateXLOGDirectoryStructure(), varbit(), varbit_in(), varbit_recv(), varchar(), varchar_input(), variable_coerce_param_hook(), variable_paramref_hook(), varstr_cmp(), verify_dictoptions(), VirtualXactLock(), WaitLatchOrSocket(), WalRcvFetchTimeLineHistoryFiles(), WalReceiverMain(), WalSndLoop(), width_bucket_float8(), width_bucket_numeric(), win_to_utf8(), window_nth_value(), window_ntile(), write_relcache_init_file(), write_relmap_file(), WriteControlFile(), WriteTempFileBlock(), writeTimeLineHistory(), writeTimeLineHistoryFile(), X509_NAME_field_to_text(), xlog_redo(), XLogArchiveForceDone(), XLogArchiveNotify(), XLogFileClose(), XLogFileCopy(), XLogFileInit(), XLogFileOpen(), XLogFileRead(), XLogFileReadAnyTLI(), XLogPageRead(), XLogRead(), XLogRestorePoint(), XLogWalRcvWrite(), XLogWrite(), xmlcomment(), xmlpi(), xmltotext_with_xmloption(), xmlvalidate(), xpath_table(), and xslt_process().

{
    fprintf(stderr, "ERROR: %s\n", fmt);
    return 0;                   /* return value does not matter */
}

int errmsg_internal ( const char *  fmt,
  ... 
)
bool errstart ( int  elevel,
const char *  filename,
int  lineno,
const char *  funcname,
const char *  domain 
)

Definition at line 136 of file ipc_test.c.

Referenced by elog_finish().

{
    return (elevel >= ERROR);
}

void ExceptionalCondition ( const char *  conditionName,
const char *  errorType,
const char *  fileName,
int  lineNumber 
)

Definition at line 117 of file ipc_test.c.

Referenced by pg_re_throw().

{
    fprintf(stderr, "TRAP: %s(\"%s\", File: \"%s\", Line: %d)\n",
            errorType, conditionName,
            fileName, lineNumber);
    abort();
}

int main ( int  argc,
char **  argv 
)

Definition at line 214 of file ipc_test.c.

References MyStorage::flag, on_exit_reset(), PGReserveSemaphores(), PGSemaphoreCreate(), PGSemaphoreLock(), PGSemaphoreReset(), PGSemaphoreTryLock(), PGSemaphoreUnlock(), PGSharedMemoryCreate(), proc_exit(), MyStorage::sem, shmem_exit(), and strerror().

{
    MyStorage  *storage;
    int         cpid;

    printf("Creating shared memory ... ");
    fflush(stdout);

    storage = (MyStorage *) PGSharedMemoryCreate(8192, false, 5433);

    storage->flag = 1234;

    printf("OK\n");

    printf("Creating semaphores ... ");
    fflush(stdout);

    PGReserveSemaphores(2, 5433);

    PGSemaphoreCreate(&storage->sem);

    printf("OK\n");

    /* sema initial value is 1, so lock should work */

    printf("Testing Lock ... ");
    fflush(stdout);

    PGSemaphoreLock(&storage->sem, false);

    printf("OK\n");

    /* now sema value is 0, so trylock should fail */

    printf("Testing TryLock ... ");
    fflush(stdout);

    if (PGSemaphoreTryLock(&storage->sem))
        printf("unexpected result!\n");
    else
        printf("OK\n");

    /* unlocking twice and then locking twice should work... */

    printf("Testing Multiple Lock ... ");
    fflush(stdout);

    PGSemaphoreUnlock(&storage->sem);
    PGSemaphoreUnlock(&storage->sem);

    PGSemaphoreLock(&storage->sem, false);
    PGSemaphoreLock(&storage->sem, false);

    printf("OK\n");

    /* check Reset too */

    printf("Testing Reset ... ");
    fflush(stdout);

    PGSemaphoreUnlock(&storage->sem);

    PGSemaphoreReset(&storage->sem);

    if (PGSemaphoreTryLock(&storage->sem))
        printf("unexpected result!\n");
    else
        printf("OK\n");

    /* Fork a child process and see if it can communicate */

    printf("Forking child process ... ");
    fflush(stdout);

    cpid = fork();
    if (cpid == 0)
    {
        /* In child */
        on_exit_reset();
        sleep(3);
        storage->flag++;
        PGSemaphoreUnlock(&storage->sem);
        proc_exit(0);
    }
    if (cpid < 0)
    {
        /* Fork failed */
        printf("failed: %s\n", strerror(errno));
        proc_exit(1);
    }

    printf("forked child PID %d OK\n", cpid);

    if (storage->flag != 1234)
        printf("Wrong value found in shared memory!\n");

    printf("Waiting for child (should wait 3 sec here) ... ");
    fflush(stdout);

    PGSemaphoreLock(&storage->sem, false);

    printf("OK\n");

    if (storage->flag != 1235)
        printf("Wrong value found in shared memory!\n");

    /* Test shutdown */

    printf("Running shmem_exit processing ... ");
    fflush(stdout);

    shmem_exit(0);

    printf("OK\n");

    printf("Tests complete.\n");

    proc_exit(0);

    return 0;                   /* not reached */
}

void on_exit_reset ( void   ) 
void on_shmem_exit ( pg_on_exit_callback  function,
Datum  arg 
)
void proc_exit ( int  code  ) 
void ProcessInterrupts ( void   ) 

Definition at line 112 of file ipc_test.c.

Referenced by die(), RecoveryConflictInterrupt(), and StatementCancelHandler().

{
}

void shmem_exit ( int  code  ) 

Variable Documentation

volatile uint32 CritSectionCount = 0
char* DataDir = "."
volatile bool ImmediateInterruptOK = false
volatile bool InterruptPending = false
int MaxBackends = 32
int NBuffers = 64
int on_proc_exit_index [static]

Definition at line 65 of file ipc_test.c.

Referenced by on_exit_reset(), and proc_exit().

struct ONEXIT on_proc_exit_list[MAX_ON_EXITS] [static]

Referenced by proc_exit().

int on_shmem_exit_index [static]

Definition at line 65 of file ipc_test.c.

Referenced by on_exit_reset(), on_shmem_exit(), and shmem_exit().

struct ONEXIT on_shmem_exit_list[MAX_ON_EXITS] [static]

Referenced by on_shmem_exit(), and shmem_exit().

volatile bool ProcDiePending = false
volatile bool QueryCancelPending = false