Header And Logo

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

Defines | Typedefs

postgres_ext.h File Reference

#include "pg_config_ext.h"
Include dependency graph for postgres_ext.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define InvalidOid   ((Oid) 0)
#define OID_MAX   UINT_MAX
#define PG_DIAG_SEVERITY   'S'
#define PG_DIAG_SQLSTATE   'C'
#define PG_DIAG_MESSAGE_PRIMARY   'M'
#define PG_DIAG_MESSAGE_DETAIL   'D'
#define PG_DIAG_MESSAGE_HINT   'H'
#define PG_DIAG_STATEMENT_POSITION   'P'
#define PG_DIAG_INTERNAL_POSITION   'p'
#define PG_DIAG_INTERNAL_QUERY   'q'
#define PG_DIAG_CONTEXT   'W'
#define PG_DIAG_SCHEMA_NAME   's'
#define PG_DIAG_TABLE_NAME   't'
#define PG_DIAG_COLUMN_NAME   'c'
#define PG_DIAG_DATATYPE_NAME   'd'
#define PG_DIAG_CONSTRAINT_NAME   'n'
#define PG_DIAG_SOURCE_FILE   'F'
#define PG_DIAG_SOURCE_LINE   'L'
#define PG_DIAG_SOURCE_FUNCTION   'R'

Typedefs

typedef unsigned int Oid
typedef PG_INT64_TYPE pg_int64

Define Documentation

#define InvalidOid   ((Oid) 0)

Definition at line 36 of file postgres_ext.h.

Referenced by _bt_compare_scankey_args(), _bt_find_extreme_element(), _bt_first(), _bt_mkscankey(), _bt_mkscankey_nodata(), _bt_sort_array_elements(), _hash_first(), AcquireRewriteLocks(), AddNewRelationType(), addTargetToGroupList(), adjust_rowcompare_for_index(), AggregateCreate(), AlterDatabaseSet(), AlterDomainDefault(), AlterExtensionNamespace(), AlterOpFamilyAdd(), AlterRelationNamespaceInternal(), AlterRole(), AlterSequence(), AlterTableCreateToastTable(), array_agg_transfn(), array_fill_internal(), array_push(), array_to_json_internal(), arraycontsel(), assign_collations_walker(), ATAddForeignKeyConstraint(), ATExecAddIndex(), ATExecChangeOwner(), ATExecDropCluster(), ATExecDropOf(), ATExecSetRelOptions(), ATExecSetTableSpace(), ATRewriteTables(), AutoVacLauncherMain(), backend_read_statsfile(), BackgroundWorkerInitializeConnection(), binary_oper_exact(), booltestsel(), BootstrapModeMain(), btcostestimate(), btree_predicate_proof(), btree_xlog_delete_get_latestRemovedXid(), build_aggregate_fnexprs(), build_coercion_expression(), build_dummy_tuple(), build_implied_join_equality(), build_minmax_path(), build_subplan(), calc_arraycontsel(), calc_hist_selectivity(), calc_rangesel(), CancelDBBackends(), check_exclusion_constraint(), check_sql_fn_retval(), check_temp_tablespaces(), check_timezone(), checkSharedDependencies(), clause_selectivity(), coerce_record_to_complex(), coerce_to_domain(), coerce_type(), composite_to_json(), convert_EXISTS_to_ANY(), ConvertTriggerToFK(), copy_dest_receive(), CopyFrom(), create_toast_table(), CreateDestReceiver(), CreateExtension(), CreateRole(), CreateTrigger(), cursor_to_xmlschema(), DefineAttr(), DefineCompositeType(), DefineDomain(), DefineEnum(), DefineRange(), DefineRelation(), DefineSequence(), DefineTSTemplate(), DefineType(), DefineVirtualRelation(), deleteSharedDependencyRecordsFor(), do_autovacuum(), do_compile(), do_lo_import(), do_start_worker(), domainAddConstraint(), DropAllPredicateLocksFromTable(), dropDatabaseDependencies(), dropdb(), DropRole(), dumpTSParser(), dumpTSTemplate(), enum_first(), enum_last(), enum_range_all(), enum_range_bounds(), eqjoinsel_inner(), eqjoinsel_semi(), estimate_hash_bucketsize(), eval_const_expressions_mutator(), EventTriggerInvoke(), examine_simple_variable(), exec_object_restorecon(), exec_parse_message(), exec_stmt_foreach_a(), ExecCallTriggerFunc(), ExecEvalArrayCoerceExpr(), ExecEvalDistinct(), ExecEvalNullIf(), ExecEvalScalarArrayOp(), ExecHashBuildSkewHash(), ExecIndexBuildScanKeys(), ExecInitExpr(), ExecInsert(), ExecMakeTableFunctionResult(), expand_boolean_index_clause(), expand_targetlist(), expandTupleDesc(), exprSetCollation(), extract_autovac_opts(), find_coercion_pathway(), find_typmod_coercion_function(), flatten_set_variable_args(), fmgr_internal_validator(), fmgr_sql_validator(), foreign_expr_walker(), format_type_internal(), generate_append_tlist(), generate_setop_tlist(), get_actual_variable_range(), get_attstatsslot(), get_call_expr_argtype(), get_oper_expr(), get_tablespace(), get_user_default_acl(), get_variable_range(), GetCurrentDict(), GetCurrentParser(), getDefaultACLs(), GetNewRelFileNode(), GetUserMapping(), HandleFunctionRequest(), hash_array(), hash_inner_and_outer(), heap_create_with_catalog(), heap_truncate_find_FKs(), histogram_selectivity(), hstore_from_record(), hstore_populate_record(), index_build(), index_constraint_create(), index_create(), index_getprocinfo(), index_reloptions(), ineq_histogram_selectivity(), init_sql_fcache(), initGinState(), InputFunctionCall(), int2vectorrecv(), internal_get_result_type(), intorel_receive(), intorel_startup(), InvalidateSystemCaches(), is_foreign_expr(), is_indexable_operator(), json_agg_transfn(), json_populate_record(), json_populate_recordset(), launcher_determine_sleep(), left_oper(), LexizeExec(), lo_creat(), lo_import(), lo_import_internal(), LocalExecuteInvalidationMessage(), LockSharedObject(), LockSharedObjectForSession(), lookup_type_cache(), make_const(), make_new_heap(), makeBoolConst(), makeWholeRowVar(), mark_index_clustered(), match_clause_to_ordering_op(), match_rowcompare_to_indexcol(), mcv_selectivity(), moddatetime(), network_prefix_quals(), NextCopyFrom(), numeric_to_number(), oidvectorrecv(), op_strict(), op_volatile(), oper(), OperatorShellMake(), patternsel(), perform_relmap_update(), pg_backup_start_time(), pg_get_constraintdef_worker(), pg_tablespace_location(), pgstat_read_statsfiles(), pgstat_report_analyze(), pgstat_report_vacuum(), PgstatCollectorMain(), PlanCacheRelCallback(), plperl_build_tuple_result(), plperl_modify_tuple(), plperl_sv_to_literal(), plpgsql_compile_inline(), plpgsql_parse_cwordrowtype(), plpgsql_parse_wordrowtype(), plpgsql_parse_wordtype(), plpython_call_handler(), plpython_validator(), pltcl_func_handler(), postgresAddForeignUpdateTargets(), PostgresMain(), PreCommit_Notify(), prefix_quals(), prefix_selectivity(), prepare_sql_fn_parse_info(), PrepareQuery(), PrepareTempTablespaces(), preprocess_targetlist(), printTypmod(), ProcedureCreate(), process_implied_equality(), process_settings(), ProcessUtilitySlow(), qual_is_pushdown_safe(), query_to_xml_and_xmlschema(), query_to_xmlschema(), readRecoveryCommandFile(), ReceiveFunctionCall(), record_cmp(), record_eq(), record_in(), record_out(), record_recv(), record_send(), regclassin(), regclassout(), regconfigin(), regconfigout(), regdictionaryin(), regdictionaryout(), regoperatorin(), regoperatorout(), regoperin(), regoperout(), regprocedurein(), regprocedureout(), regprocin(), regprocout(), regtypein(), regtypeout(), reindex_relation(), RelationCacheInitializePhase3(), RelationMapFinishBootstrap(), RelationParseRelOptions(), relmap_redo(), rename_constraint_internal(), RenameRelationInternal(), ReplaceVarsFromTargetList_callback(), ResolveRecoveryConflictWithLock(), ResolveRecoveryConflictWithTablespace(), rewriteTargetListIU(), rewriteTargetListUD(), rewriteValuesRTE(), right_oper(), scalararraysel_containment(), SendRecoveryConflictWithBufferPin(), set_opfuncid(), set_rel_width(), set_sa_opfuncid(), shdepDropOwned(), shdepReassignOwned(), standard_ProcessUtility(), StoreRelCheck(), string_to_bytea_const(), strip_array_coercion(), swap_relation_files(), table_recheck_autovac(), targetIsInSortList(), to_json(), toast_insert_or_update(), toast_save_datum(), transformAExprIn(), transformArrayExpr(), transformArraySubscripts(), transformArrayType(), transformDistinctOnClause(), transformExprRecurse(), transformGroupClause(), transformTypeCast(), tsquerysel(), TypeCacheRelCallback(), typeInheritsFrom(), typenameTypeMod(), TypeShellMake(), UnlockSharedObject(), UnlockSharedObjectForSession(), vac_update_datfrozenxid(), vacuum_rel(), validate_index(), var_eq_const(), var_eq_non_const(), variable_paramref_hook(), and xact_redo_commit_compact().

#define OID_MAX   UINT_MAX

Definition at line 39 of file postgres_ext.h.

#define PG_DIAG_COLUMN_NAME   'c'
#define PG_DIAG_CONSTRAINT_NAME   'n'
#define PG_DIAG_CONTEXT   'W'
#define PG_DIAG_DATATYPE_NAME   'd'
#define PG_DIAG_INTERNAL_POSITION   'p'

Definition at line 57 of file postgres_ext.h.

Referenced by pqGetErrorNotice3(), and send_message_to_frontend().

#define PG_DIAG_INTERNAL_QUERY   'q'

Definition at line 58 of file postgres_ext.h.

Referenced by pqGetErrorNotice3(), and send_message_to_frontend().

#define PG_DIAG_MESSAGE_DETAIL   'D'
#define PG_DIAG_MESSAGE_HINT   'H'
#define PG_DIAG_MESSAGE_PRIMARY   'M'
#define PG_DIAG_SCHEMA_NAME   's'
#define PG_DIAG_SEVERITY   'S'
#define PG_DIAG_SOURCE_FILE   'F'

Definition at line 65 of file postgres_ext.h.

Referenced by pqGetErrorNotice3(), and send_message_to_frontend().

#define PG_DIAG_SOURCE_FUNCTION   'R'

Definition at line 67 of file postgres_ext.h.

Referenced by pqGetErrorNotice3(), and send_message_to_frontend().

#define PG_DIAG_SOURCE_LINE   'L'

Definition at line 66 of file postgres_ext.h.

Referenced by pqGetErrorNotice3(), and send_message_to_frontend().

#define PG_DIAG_SQLSTATE   'C'
#define PG_DIAG_STATEMENT_POSITION   'P'

Definition at line 56 of file postgres_ext.h.

Referenced by pqGetErrorNotice3(), and send_message_to_frontend().

#define PG_DIAG_TABLE_NAME   't'

Typedef Documentation

typedef unsigned int Oid

Definition at line 31 of file postgres_ext.h.

typedef PG_INT64_TYPE pg_int64

Definition at line 43 of file postgres_ext.h.