PostgreSQL Source Code
git master
|
Go to the source code of this file.
Macros | |
#define | DEFAULT_XLOG_SEG_SIZE (16*1024*1024) |
#define | NAMEDATALEN 64 |
#define | FUNC_MAX_ARGS 100 |
#define | INDEX_MAX_KEYS 32 |
#define | PARTITION_MAX_KEYS 32 |
#define | NUM_SPINLOCK_SEMAPHORES 128 |
#define | NUM_ATOMICS_SEMAPHORES 64 |
#define | MAXPGPATH 1024 |
#define | PG_SOMAXCONN 10000 |
#define | BITS_PER_BYTE 8 |
#define | ALIGNOF_BUFFER 32 |
#define | DEFAULT_BACKEND_FLUSH_AFTER 0 |
#define | DEFAULT_BGWRITER_FLUSH_AFTER 0 |
#define | DEFAULT_CHECKPOINT_FLUSH_AFTER 0 |
#define | WRITEBACK_MAX_PENDING_FLUSHES 256 |
#define | DEFAULT_PGSOCKET_DIR "/tmp" |
#define | DEFAULT_EVENT_SOURCE "PostgreSQL" |
#define | MAX_RANDOM_VALUE PG_INT32_MAX |
#define | PG_CACHE_LINE_SIZE 128 |
#define | TRACE_SORT 1 |
#define ALIGNOF_BUFFER 32 |
Definition at line 123 of file pg_config_manual.h.
#define BITS_PER_BYTE 8 |
Definition at line 115 of file pg_config_manual.h.
Referenced by addHyperLogLog(), anybit_typmodin(), bit_catenate(), bitgetbit(), bitposition(), bitsetbit(), bitshiftleft(), bitshiftright(), bitsubstring(), bittoint4(), bittoint8(), bloom_create(), bloom_prop_bits_set(), getAnotherTuple(), heap_page_items(), network_abbrev_convert(), pg_rotate_right32(), rewriteVisibilityMap(), tuple_data_split(), type_maximum_size(), and varbit_out().
#define DEFAULT_BACKEND_FLUSH_AFTER 0 |
Definition at line 170 of file pg_config_manual.h.
Referenced by setup_config().
#define DEFAULT_BGWRITER_FLUSH_AFTER 0 |
Definition at line 171 of file pg_config_manual.h.
Referenced by setup_config().
#define DEFAULT_CHECKPOINT_FLUSH_AFTER 0 |
Definition at line 172 of file pg_config_manual.h.
Referenced by setup_config().
#define DEFAULT_EVENT_SOURCE "PostgreSQL" |
Definition at line 212 of file pg_config_manual.h.
Referenced by DebugFileOpen().
#define DEFAULT_PGSOCKET_DIR "/tmp" |
Definition at line 204 of file pg_config_manual.h.
Referenced by connectOptions2(), get_prompt(), main(), passwordFromFile(), and setup_config().
#define DEFAULT_XLOG_SEG_SIZE (16*1024*1024) |
Definition at line 20 of file pg_config_manual.h.
Referenced by GuessControlValues(), main(), prepare_buf(), RetrieveWalSegSize(), and test_open().
#define FUNC_MAX_ARGS 100 |
Definition at line 43 of file pg_config_manual.h.
Referenced by advance_windowaggregate(), advance_windowaggregate_base(), AggregateCreate(), check_generic_type_consistency(), compile_pltcl_function(), dumpFunc(), enforce_generic_type_consistency(), eval_windowfunction(), ExecInitAgg(), ExecInitFunc(), ExecuteCallStmt(), fetch_fp_info(), finalize_aggregate(), finalize_windowaggregate(), func_select_candidate(), get_agg_expr(), get_aggregate_argtypes(), get_func_expr(), get_windowfunc_expr(), HandleFunctionRequest(), init_sexpr(), initialize_peragg(), int2vectorin(), int2vectorrecv(), LookupFuncWithArgs(), MatchNamedCall(), oidvectorin(), oidvectorrecv(), parse_fcall_arguments(), parse_fcall_arguments_20(), ParseFuncOrColumn(), parseNameAndArgTypes(), preprocess_aggref(), ProcedureCreate(), recheck_cast_function_args(), regoperatorin(), regprocedurein(), reorder_function_arguments(), to_regoperator(), and to_regprocedure().
#define INDEX_MAX_KEYS 32 |
Definition at line 52 of file pg_config_manual.h.
Referenced by _bt_check_natts(), _bt_check_unique(), _bt_first(), _PG_init(), addFkRecurseReferencing(), ATAddForeignKeyConstraint(), bt_normalize_tuple(), BTreeTupleSetNAtts(), BuildDummyIndexInfo(), BuildIndexInfo(), CatalogIndexInsert(), check_exclusion_or_unique_constraint(), CheckIndexCompatible(), CloneFkReferenced(), CloneFkReferencing(), comparetup_cluster(), comparetup_index_btree(), compute_index_stats(), create_index_paths(), DeconstructFkConstraintRow(), DefineIndex(), ExecCheckIndexConstraints(), ExecInsertIndexTuples(), get_actual_variable_endpoint(), ginNewScanKey(), gist_page_items(), gistbuild(), gistchoose(), gistFetchTuple(), gistFormTuple(), gistgetadjusted(), gistRelocateBuildBuffersOnSplit(), gistSortedBuildCallback(), gistunion(), GuessControlValues(), heapam_index_build_range_scan(), heapam_index_validate_scan(), index_deform_tuple(), index_form_tuple(), index_truncate_tuple(), IndexCheckExclusion(), initGISTstate(), makeDefaultBloomOptions(), placeOne(), ReadControlFile(), RelationFindReplTupleByIndex(), transformColumnNameList(), unique_key_recheck(), and WriteControlFile().
#define MAX_RANDOM_VALUE PG_INT32_MAX |
Definition at line 223 of file pg_config_manual.h.
Referenced by _bt_findinsertloc(), check_log_duration(), explain_ExecutorStart(), get_normal_pair(), gistchoose(), perform_spin_delay(), and StartTransaction().
#define MAXPGPATH 1024 |
Definition at line 98 of file pg_config_manual.h.
Referenced by _ArchiveEntry(), _CloseArchive(), _discoverArchiveFormat(), _LoadBlobs(), _PrepParallelRestore(), _PrintTocData(), _StartBlob(), _StartBlobs(), _StartData(), AddFileToBackupManifest(), adjust_data_dir(), AlterSystemSetConfigFile(), apply_handle_stream_abort(), apply_handle_stream_commit(), ApplyLogicalMappingFile(), apw_dump_now(), AuxiliaryProcessMain(), BackendRun(), BackgroundWorkerUnblockSignals(), BaseBackup(), be_lo_export(), bootstrap_template1(), BufFileDeleteShared(), BufFileOpenShared(), BufFileTruncateShared(), calculate_database_size(), calculate_relation_size(), calculate_tablespace_size(), changes_filename(), check_file_clone(), check_file_excluded(), check_for_isn_and_int8_passing_mismatch(), check_for_jsonb_9_4_usage(), check_for_new_tablespace_dir(), check_for_reg_data_type_usage(), check_for_tables_with_oids(), check_for_user_defined_postfix_ops(), check_hard_link(), check_loadable_libraries(), check_required_directory(), check_single_dir(), check_system_link_file(), checkControlFile(), CheckPointLogicalRewriteHeap(), CheckPointReplicationSlots(), CheckPointSnapBuild(), CheckSCRAMAuth(), cleanup(), cleanup_path(), CleanupBackgroundWorker(), CleanupBackupHistory(), CleanupPriorWALFiles(), connectOptions2(), convert_sourcefiles_in(), copy_subdir_files(), copydir(), create_new_objects(), create_script_for_old_cluster_deletion(), create_target_dir(), create_target_symlink(), CreateLockFile(), CreateSlotOnDisk(), CreateSocketLockFile(), CreateTableSpace(), CustomizableInitialize(), db_dir_size(), DeleteAllExportedSnapshotFiles(), dir_close(), dir_existsfile(), dir_get_file_size(), dir_open_for_write(), disable_old_cluster(), do_edit(), do_init(), do_kill(), do_logrotate(), do_pg_start_backup(), do_pg_stop_backup(), do_promote(), dsm_cleanup_for_mmap(), ecpg_start_test(), ensureCleanShutdown(), ExecParallelHashJoinSetUpBatches(), ExecuteRecoveryCommand(), existsTimeLineHistory(), expand_tilde(), ExportSnapshot(), find_my_exec(), find_other_exec(), find_other_exec_or_die(), FindStreamingStart(), fsync_parent_path(), generate_old_dump(), get_bin_version(), get_configdata(), get_control_data(), get_controlfile(), get_extension_aux_control_filename(), get_extension_control_directory(), get_extension_control_filename(), get_extension_script_directory(), get_extension_script_filename(), get_home_path(), get_major_server_version(), get_sock_dir(), get_tablespace_mapping(), get_tsearch_config_filename(), getRestoreCommand(), getTimelineHistory(), heap_xlog_logical_rewrite(), identify_system_timezone(), identify_target_directory(), ImportSnapshot(), InitArchiveFmt_Directory(), initialize_environment(), initialize_SSL(), initializeInput(), InstallXLogFileSegment(), isolation_init(), isolation_start_test(), join_path_components(), KeepFileRestoredFromArchive(), KillExistingArchiveStatus(), KillExistingXLOG(), llvm_create_types(), lo_import_internal(), load_module(), load_relcache_init_file(), load_relmap_file(), load_resultmap(), local_fetch_file_range(), logfile_getname(), logical_rewrite_log_mapping(), LogicalTapeSetCreate(), ltsConcatWorkerTapes(), main(), make_absolute_path(), make_relative_path(), MakeNewSharedSegment(), mark_file_as_archived(), mdsyncfiletag(), mdunlinkfiletag(), new_9_0_populate_pg_largeobject_metadata(), old_11_check_for_sql_identifier_data_type_usage(), old_9_3_check_for_line_data_type_usage(), old_9_6_check_for_unknown_data_type_usage(), open_file_in_directory(), open_result_files(), open_walfile(), OpenTemporaryFileInTablespace(), parseCommandLine(), parseServiceInfo(), ParseTzFile(), perform_base_backup(), pg_backup_start_time(), pg_bindtextdomain(), pg_current_logfile(), pg_ls_dir_files(), pg_ls_tmpdir(), pg_open_tzfile(), pg_tablespace_location(), pg_TZDIR(), pg_tzenumerate_next(), pgarch_archiveDone(), pgarch_ArchiverCopyLoop(), pgarch_archiveXlog(), pgarch_readyXlog(), pgstat_read_db_statsfile(), pgstat_recv_dropdb(), pgstat_reset_remove_files(), pgstat_write_db_statsfile(), pid_lock_file_exists(), PostmasterMarkPIDForWorkerNotify(), PQconnectPoll(), process_file(), process_postgres_switches(), process_psqlrc(), ProcessSyncRequests(), provider_init(), psql_command(), psql_start_test(), read_backup_label(), read_tablespace_map(), readTimeLineHistory(), ReadTwoPhaseFile(), RecreateTwoPhaseFile(), recurse_dir(), regression_main(), RelationCacheInitFilePreInvalidate(), RelationCacheInitFileRemove(), RelationCacheInitFileRemoveInDir(), remove_new_subdir(), remove_target_dir(), remove_target_file(), remove_target_symlink(), RemovePgTempFiles(), RemovePgTempFilesInDir(), RemovePgTempRelationFiles(), RemovePgTempRelationFilesInDbspace(), RemoveTempXlogFiles(), RemoveTwoPhaseFile(), RemoveXlogFile(), ReorderBufferCleanupSerializedTXNs(), ReorderBufferRestoreChanges(), ReorderBufferRestoreCleanup(), ReorderBufferSerializedPath(), ReorderBufferSerializeTXN(), ReplicationSlotDropPtr(), ReplicationSlotSave(), ResetUnloggedRelations(), ResetUnloggedRelationsInDbspaceDir(), ResetUnloggedRelationsInTablespaceDir(), resolve_symlinks(), RestoreArchivedFile(), RestoreSlotFromDisk(), restoreTimeLineHistoryFiles(), results_differ(), rmtree(), SaveSlotToPath(), scan_available_timezones(), scan_directory(), sendDir(), sendTablespace(), SendTimeLineHistory(), set_pglocale_pgservice(), setFilePath(), setup(), setup_bin_paths(), setup_config(), SharedFilePath(), SharedFileSetCreate(), SharedFileSetDelete(), SharedFileSetDeleteAll(), SharedFileSetOpen(), SharedFileSetPath(), SharedSegmentName(), SimpleLruDoesPhysicalPageExist(), SimpleXLogPageRead(), SlruInternalDeleteSegment(), SlruPhysicalReadPage(), SlruPhysicalWritePage(), SlruReportIOError(), slurpFile(), SnapBuildRestore(), SnapBuildSerialize(), SplitDirectoriesString(), start_postmaster(), StartLogStreamer(), StartupReplicationSlots(), StartupXLOG(), stop_postmaster(), stream_cleanup_files(), stream_open_file(), StreamServerPort(), sts_filename(), sts_parallel_scan_next(), sts_puttuple(), subxact_filename(), subxact_info_read(), subxact_info_write(), SyncPostCheckpoint(), tablespace_list_append(), tar_open_for_write(), TempTablespacePath(), test_config_settings(), threadRun(), transfer_relfile(), truncate_target_file(), update_controlfile(), validate_exec(), ValidatePgVersion(), ValidateXLOGDirectoryStructure(), wal_segment_open(), WALDumpOpenSegment(), WALDumpReadPage(), walkdir(), WALOpenSegmentInit(), WalSndSegmentOpen(), write_relcache_init_file(), write_relmap_file(), WriteEmptyXLOG(), WriteRecoveryConfig(), writeTimeLineHistory(), writeTimeLineHistoryFile(), XLogArchiveCheckDone(), XLogArchiveCleanup(), XLogArchiveForceDone(), XLogArchiveIsBusy(), XLogArchiveIsReady(), XLogArchiveIsReadyOrDone(), XLogArchiveNotify(), XLogFileCopy(), XLogFileInit(), XLogFileOpen(), XLogFileRead(), and XLogFileReadAnyTLI().
#define NAMEDATALEN 64 |
Definition at line 29 of file pg_config_manual.h.
Referenced by aclitemout(), aclparse(), AddEnumLabel(), AlterObjectOwner_internal(), ApplyWorkerMain(), Async_Notify(), asyncQueueNotificationToEntry(), ATExecAddOf(), AutoVacWorkerMain(), BackendStatusShmemSize(), boot_openrel(), bootstrap_template1(), bpchar_name(), check_default_table_access_method(), check_foreign_key(), check_primary_key(), ChooseConstraintName(), ChooseExtendedStatisticName(), ChooseExtendedStatisticNameAddition(), ChooseForeignKeyConstraintNameAddition(), ChooseIndexColumnNames(), ChooseIndexNameAddition(), ChooseRelationName(), convert_requires_to_datum(), create_toast_table(), createConnHash(), CreateSharedBackendStatus(), CreateSubscription(), CreateTrigger(), current_database(), current_schemas(), DefineQueryRewrite(), DefineRelation(), downcase_identifier(), DropSubscription(), enum_in(), enum_recv(), EnumValuesCreate(), ExecGrant_Largeobject(), fetch_fp_info(), find_rendezvous_variable(), finish_heap_swap(), format_operator_extended(), format_procedure_extended(), get_json_object_as_hash(), getid(), gettype(), GuessControlValues(), hash_object_field_end(), InitPostgres(), InitQueryHashTable(), InitTempTableNamespace(), leftmostvalue_name(), LogicalRepSyncTableStart(), make_colname_unique(), make_new_heap(), make_oper_cache_key(), makeMultirangeTypeName(), makeObjectName(), makeUniqueTypeName(), namecmp(), nameconcatoid(), nameeqfast(), namefastcmp_c(), namein(), namerecv(), namestrcmp(), namestrcpy(), pg_char_to_encoding(), pg_get_userbyid(), pg_import_system_collations(), pg_perm_setlocale(), pg_stat_get_wal_receiver(), pgstat_bestart(), pgstat_read_current_status(), pgstat_replslot_index(), pgstat_report_appname(), pgstat_report_replslot(), pgstat_report_replslot_drop(), pgstat_reset_replslot_counter(), plperl_create_sub(), PLy_procedure_compile(), PLy_procedure_create(), populate_recordset_object_field_end(), populate_recordset_object_start(), prepare_foreign_modify(), ProcessStartupPacket(), ReadControlFile(), regclassout(), regcollationout(), regconfigout(), regdictionaryout(), regnamespaceout(), regoperout(), regprocout(), regroleout(), regtypeout(), RemoveAttributeById(), RenameEnumLabel(), ReplicationSlotValidateName(), RequestNamedLWLockTranche(), RequestXLogStreaming(), reverse_name(), select_perl_context(), SendRowDescriptionCols_3(), set_rtable_names(), ssl_client_dn(), ssl_client_serial(), ssl_issuer_dn(), string_to_const(), text_name(), truncate_identifier(), TupleDescInitEntry(), validOperatorName(), WalReceiverMain(), and WriteControlFile().
#define NUM_ATOMICS_SEMAPHORES 64 |
Definition at line 86 of file pg_config_manual.h.
Referenced by s_init_lock_sema().
#define NUM_SPINLOCK_SEMAPHORES 128 |
Definition at line 78 of file pg_config_manual.h.
Referenced by s_init_lock_sema().
#define PARTITION_MAX_KEYS 32 |
Definition at line 57 of file pg_config_manual.h.
Referenced by DefineRelation(), ExecFindPartition(), gen_partprune_steps_internal(), get_matching_hash_bounds(), have_partkey_equi_join(), perform_pruning_base_step(), and satisfies_hash_partition().
#define PG_CACHE_LINE_SIZE 128 |
Definition at line 260 of file pg_config_manual.h.
Referenced by BufferShmemSize(), InitCatCache(), and varstr_abbrev_convert().
#define PG_SOMAXCONN 10000 |
Definition at line 109 of file pg_config_manual.h.
Referenced by StreamServerPort().
#define TRACE_SORT 1 |
Definition at line 387 of file pg_config_manual.h.
#define WRITEBACK_MAX_PENDING_FLUSHES 256 |
Definition at line 175 of file pg_config_manual.h.
Referenced by ScheduleBufferTagForWriteback(), and WritebackContextInit().