|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Definition at line 22 of file fe_memutils.h.
| #define MCXT_ALLOC_HUGE |
Definition at line 28 of file fe_memutils.h.
Definition at line 29 of file fe_memutils.h.
Definition at line 30 of file fe_memutils.h.
Definition at line 92 of file fe_memutils.h.
Definition at line 90 of file fe_memutils.h.
Definition at line 91 of file fe_memutils.h.
| #define palloc_array_extended | ( | type, | |
| count, | |||
| flags | |||
| ) | ((type *) palloc_mul_extended(sizeof(type), count, flags)) |
Definition at line 93 of file fe_memutils.h.
Definition at line 89 of file fe_memutils.h.
Definition at line 67 of file fe_memutils.h.
Definition at line 61 of file fe_memutils.h.
Definition at line 66 of file fe_memutils.h.
| #define pg_malloc_array_extended | ( | type, | |
| count, | |||
| flags | |||
| ) | ((type *) pg_malloc_mul_extended(sizeof(type), count, flags)) |
Definition at line 68 of file fe_memutils.h.
Definition at line 60 of file fe_memutils.h.
| #define pg_realloc_array | ( | pointer, | |
| type, | |||
| count | |||
| ) | ((type *) pg_realloc_mul(pointer, sizeof(type), count)) |
Definition at line 74 of file fe_memutils.h.
| #define repalloc_array | ( | pointer, | |
| type, | |||
| count | |||
| ) | ((type *) repalloc_mul(pointer, sizeof(type), count)) |
Definition at line 94 of file fe_memutils.h.
Definition at line 1733 of file mcxt.c.
Definition at line 1752 of file mcxt.c.
Definition at line 1390 of file mcxt.c.
Definition at line 1420 of file mcxt.c.
Definition at line 1442 of file mcxt.c.
Definition at line 1619 of file mcxt.c.
Definition at line 111 of file fe_memutils.c.
References free.
Referenced by _printTocEntry(), advanceConnectionState(), append_depends_on_extension(), appendQualifiedRelation(), avlFree(), bool_substitute_hook(), calculate_totals(), check_exec(), check_for_data_types_usage(), check_for_incompatible_polymorphics(), check_publisher(), checksum_file(), close_walfile(), copy_file_blocks(), copyFile(), create_script_for_old_cluster_deletion(), datapagemap_print(), dir_close(), dir_free(), dir_open_for_write(), do_connect(), do_watch(), dropDBs(), dumpFunc(), dumpRoleMembership(), dumpSequence(), EndCompressor(), EndCompressorNone(), FindStreamingStart(), free_archive_reader(), free_command(), free_db_and_rel_infos(), free_rel_infos(), free_retrieved_objects(), free_socket_set(), FreeSlruRead(), FreeSlruWrite(), get_control_data(), get_db_rel_and_slot_infos(), get_loadable_libraries(), get_publisher_databases(), get_restricted_token(), get_standby_sysid(), getTimelineHistory(), icu_language_tag(), init_libpq_conn(), IssueACLPerBlob(), IssueCommandPerBlob(), libpq_get_current_wal_insert_lsn(), listSchemas(), main(), make_rfile(), makeAlterConfigCommand(), modify_subscriber_sysid(), open_walfile(), parallel_exec_prog(), parallel_transfer_all_new_dbs(), parseAclItem(), parseCommandLine(), parseQuery(), perform_rewind(), pfree(), printCrosstab(), PrintResultInCrosstab(), process_queued_fetch_requests(), rankSort(), readCommandResponse(), ReadHead(), readMessageFromPipe(), ReceiveXlogStream(), reconstruct_from_incremental_file(), reindex_one_database(), restore_all_databases(), RestoreArchive(), retrieve_objects(), run_schedule(), SendQuery(), set_replication_progress(), setlocales(), setup_publisher(), SetVariable(), simple_oid_list_destroy(), simple_ptr_list_destroy(), simple_string_list_destroy(), SlruReadSwitchPageSlow(), SlruWriteSwitchPageSlow(), SortTocFromFile(), SyncVariables(), tar_close(), tar_free(), tar_open_for_write(), test_gb18030_page_multiple(), transfer_all_new_dbs(), upgrade_task_free(), upgrade_task_run(), vacuum_all_databases(), vacuum_one_database(), verify_tar_file(), WriteDataChunks(), and WriteToc().
Definition at line 53 of file fe_memutils.c.
References pg_malloc_internal().
Referenced by _CustomReadFunc(), _PrintFileData(), _skipData(), ahprintf(), archprintf(), checksum_file(), copy_file_blocks(), copyFile(), CreateWalTarMethod(), decide_file_actions(), do_watch(), escape_quotes_bki(), ExecuteSqlCommandBuf(), expr_scanner_get_substring(), find_other_exec_or_die(), get_comma_elts(), get_dbname_oid_list_from_mfile(), get_exec_path(), get_pg_version(), getLOs(), icu_language_tag(), init_archive_reader(), InitCompressorNone(), libpq_fetch_file(), load_backup_manifest(), main(), parse_manifest_file(), parseScriptWeight(), parseVariable(), pg_malloc_mul(), pretty_wal_size(), print_aligned_vertical(), process_directory_recursively(), process_queued_fetch_requests(), pset_quoted_string(), quote_identifier(), quote_if_needed(), read_controlfile(), read_file_contents(), ReadDataFromArchiveNone(), readfile(), readMessageFromPipe(), ReadStr(), reconstruct_from_incremental_file(), replace_token(), setup_bin_paths(), simple_string_list_append(), slurpFile(), sql_exec(), sql_exec_searchtables(), StartRestoreLO(), strtokx(), tarPrintf(), test_gb18030_page_multiple(), and verify_tar_file().
Definition at line 59 of file fe_memutils.c.
References MCXT_ALLOC_ZERO, and pg_malloc_internal().
Referenced by _discoverArchiveFormat(), CreateWalTarMethod(), dir_open_for_write(), FindStreamingStart(), make_outputdirs(), and pg_malloc0_mul().
Definition at line 256 of file fe_memutils.c.
References fb(), mul_size_error(), pg_malloc0(), pg_mul_size_overflow(), s1, s2, and unlikely.
Definition at line 65 of file fe_memutils.c.
References pg_malloc_internal().
Referenced by do_lo_import(), pg_log_generic_v(), and pg_malloc_mul_extended().
Definition at line 238 of file fe_memutils.c.
References fb(), mul_size_error(), pg_malloc(), pg_mul_size_overflow(), s1, s2, and unlikely.
Definition at line 272 of file fe_memutils.c.
References fb(), mul_size_error(), pg_malloc_extended(), pg_mul_size_overflow(), s1, s2, and unlikely.
Definition at line 71 of file fe_memutils.c.
References _, EXIT_FAILURE, fb(), fprintf, and realloc.
Referenced by addlitchar(), datapagemap_add(), exec_command_set(), icu_language_tag(), main(), pg_realloc_mul(), read_file_contents(), readMessageFromPipe(), repalloc(), and replaceVariable().
Definition at line 288 of file fe_memutils.c.
References fb(), mul_size_error(), pg_mul_size_overflow(), pg_realloc(), s1, s2, and unlikely.
Definition at line 91 of file fe_memutils.c.
References _, EXIT_FAILURE, fb(), and fprintf.
Referenced by _allocAH(), _ArchiveEntry(), _ArchiveEntry(), _becomeUser(), _check_database_version(), _getObjectDescription(), _selectOutputSchema(), _selectTableAccessMethod(), _selectTablespace(), _tarGetHeader(), add_one_elt(), add_stringlist_item(), add_stringlist_item(), adjust_data_dir(), adjust_data_dir(), append_depends_on_extension(), ArchiveEntry(), bool_substitute_hook(), check_locale_name(), check_publisher(), check_required_directory(), check_subscriber(), CloneArchive(), collectComments(), collectRoleNames(), collectSecLabels(), comp_keyword_case_substitute_hook(), concat_conninfo_dbname(), ConnectDatabaseAhx(), constructConnStr(), convertRegProcReference(), convertTSFunction(), create_logical_replication_slot(), create_script_for_old_cluster_deletion(), createBoundaryObjects(), CreateWalDirectoryMethod(), describeOneTableDetails(), describeRoles(), dir_open_for_write(), do_pset(), dumpAccessMethod(), dumpAttrDef(), dumpBaseType(), dumpCollation(), dumpCompositeType(), dumpConstraint(), dumpConversion(), dumpDatabase(), dumpDomain(), dumpEnumType(), dumpEventTrigger(), dumpExtension(), dumpForeignDataWrapper(), dumpForeignServer(), dumpIndex(), dumpNamespace(), dumpOpclass(), dumpOpfamily(), dumpOptionsFromRestoreOptions(), dumpPolicy(), dumpProcLang(), dumpPublication(), dumpRangeType(), dumpRoleGUCPrivs(), dumpRule(), dumpSearchPath(), dumpSequence(), dumpStatisticsExt(), dumpSubscription(), dumpTable(), dumpTableConstraintComment(), dumpTableData(), dumpTableSchema(), dumpTablespaces(), dumpTrigger(), dumpTSConfig(), dumpTSDictionary(), dumpTSParser(), dumpTSTemplate(), dumpUndefinedType(), echo_substitute_hook(), encodingid_to_string(), exec_command_g(), exec_command_gset(), exec_command_password(), exec_command_set(), fetch_count_substitute_hook(), find_matching_ts_config(), FindDbnameInConnOpts(), fix_path_separator(), flagInhAttrs(), flagInhIndexes(), flagInhTables(), format_numeric_locale(), get_base_conninfo(), get_comma_elts(), get_conninfo_value(), get_control_data(), get_db_infos(), get_id(), get_language_name(), get_loadable_libraries(), get_opts(), get_restricted_token(), get_sock_dir(), get_sub_conninfo(), get_synchronized_snapshot(), get_tablespace_paths(), get_template0_info(), get_user_info(), getAccessMethods(), getAggregates(), getCollations(), getConstraints(), getConversions(), getDefaultACLs(), getDomainConstraints(), getEventTriggers(), getExtendedStatistics(), getExtensions(), getForeignDataWrappers(), getForeignServers(), getFormattedTypeName(), getFuncs(), getIndexes(), getLOs(), getNamespaces(), getOpclasses(), getOperators(), getOpfamilies(), getPolicies(), getProcLangs(), getPublications(), getPublicationTables(), getRelationStatistics(), getRules(), gets_fromFile(), getSubscriptionRelations(), getSubscriptions(), getTableAttrs(), getTables(), getTriggers(), getTSConfigurations(), getTSDictionaries(), getTSParsers(), getTSTemplates(), getTypes(), getVariable(), handle_args(), histcontrol_substitute_hook(), histsize_substitute_hook(), identify_target_directory(), ignoreeof_substitute_hook(), InitDiscoverCompressFileHandle(), initializeInput(), insert_filehash_entry(), IssueACLPerBlob(), IssueCommandPerBlob(), keepwal_add_entry(), listSchemas(), load_resultmap(), lookupCreateVariable(), main(), main(), MainLoop(), makeAlterConfigCommand(), open_result_files(), parallel_exec_prog(), parallel_transfer_all_new_dbs(), parse_psql_options(), parse_slash_copy(), parseAclItem(), parseCommandLine(), parseQuery(), ParseScript(), parseScriptWeight(), pg_send_history(), postprocess_sql_command(), printTableAddFooter(), printTableSetFooter(), process_backslash_command(), process_old_cluster_logical_slot_infos(), process_rel_infos(), process_source_file(), process_target_file(), processEncodingEntry(), processExtensionTables(), processSearchPathEntry(), progress_update_filename(), psql_get_variable(), psqlscan_push_new_buffer(), pstrdup(), putVariable(), read_post_opts(), readfile(), ReconnectToServer(), regression_main(), RestoreArchive(), run_schedule(), run_simple_query(), RunIdentifySystem(), sanitize_line(), save_global_locale(), savePsetInfo(), search_directory(), sendCommand(), set_info_version(), setDecimalLocale(), setup(), setup_config(), setup_connection(), setup_pgdata(), setup_publisher(), SetVariable(), SetVariableHooks(), show_context_substitute_hook(), simple_action_list_append(), simple_prompt_extended(), split_path(), split_to_stringlist(), tar_open_for_write(), tarOpen(), verbosity_substitute_hook(), and watch_interval_substitute_hook().
Definition at line 1910 of file mcxt.c.
Definition at line 1635 of file mcxt.c.