PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
header.h File Reference
Include dependency graph for header.h:

Go to the source code of this file.

Macros

#define malloc(a)   palloc(a)
 
#define calloc(a, b)   palloc0((a) * (b))
 
#define realloc(a, b)   repalloc(a,b)
 
#define free(a)   pfree(a)
 

Macro Definition Documentation

#define calloc (   a,
 
)    palloc0((a) * (b))
#define free (   a)    pfree(a)

Definition at line 65 of file header.h.

Referenced by _becomeUser(), _connectDB(), _CustomReadFunc(), _DeClone(), _discoverArchiveFormat(), _getObjectDescription(), _PrintFileData(), _printTocEntry(), _ReadExtraToc(), _reconnectToDB(), _selectOutputSchema(), _selectTablespace(), _skipData(), _tarPositionTo(), add_placeholder_variable(), adjust_data_dir(), ahprintf(), AllocSetDelete(), AllocSetFree(), AllocSetReset(), AlterSystemSetConfigFile(), appendReloptionsArray(), archprintf(), assign_pgstat_temp_directory(), assignVariables(), AuxiliaryProcessMain(), BackendStartup(), bootstrap_template1(), build_client_first_message(), build_guc_variables(), buildACLCommands(), BuildArchiveDependencies(), calculateDigestFromBuffer(), check_client_encoding(), check_datestyle(), check_locale_name(), check_TSCurrentConfig(), CleanupBackend(), CleanupBackgroundWorker(), closedir(), closePGconn(), conditional_stack_destroy(), conditional_stack_pop(), connectDatabase(), ConnectDatabase(), connectOptions2(), ConnFree(), conninfo_array_parse(), conninfo_parse(), conninfo_storeval(), conninfo_uri_decode(), conninfo_uri_parse_options(), conninfo_uri_parse_params(), convertOperatorReference(), create_xlog_or_symlink(), db_encoding_convert(), deccvasc(), DeCloneArchive(), dectoasc(), define_custom_variable(), describeOneTableDetails(), describeRoles(), destroyPQExpBuffer(), do_copy(), do_lo_import(), do_pset(), do_shell(), do_start_bgworker(), dolink(), drop_assignments(), drop_descriptor(), dttoasc(), dump_sqlda(), dump_variables(), dumpAgg(), dumpAttrDef(), dumpBaseType(), dumpCast(), dumpConstraint(), dumpCreateDB(), dumpExtension(), dumpForeignDataWrapper(), dumpForeignServer(), dumpFunc(), dumpGroups(), dumpNamespace(), dumpOpclass(), dumpOpfamily(), dumpOpr(), dumpPolicy(), dumpProcLang(), dumpPublicationTable(), dumpRule(), dumpSubscription(), dumpTable(), dumpTablespaces(), dumpTransform(), dumpTrigger(), dupEvents(), ecpg_free(), ecpg_get_data(), ecpg_log(), ecpg_process_output(), ecpg_start_test(), ECPGconnect(), ECPGdescribe(), ECPGdump_a_simple(), ECPGdump_a_struct(), ECPGdump_a_type(), ECPGfree_struct_member(), ECPGfree_type(), editFile(), EndCompressor(), exec_command_C(), exec_command_cd(), exec_command_connect(), exec_command_copy(), exec_command_d(), exec_command_echo(), exec_command_edit(), exec_command_ef(), exec_command_encoding(), exec_command_ev(), exec_command_f(), exec_command_g(), exec_command_help(), exec_command_include(), exec_command_list(), exec_command_lo(), exec_command_out(), exec_command_password(), exec_command_prompt(), exec_command_pset(), exec_command_s(), exec_command_set(), exec_command_setenv(), exec_command_sf(), exec_command_shell_escape(), exec_command_slash_command_help(), exec_command_sv(), exec_command_t(), exec_command_T(), exec_command_timing(), exec_command_unset(), exec_command_watch(), exec_command_write(), exec_command_x(), exec_command_z(), ExecuteSqlCommandBuf(), expand_tilde(), fillPGconn(), find_matching_ts_config(), findDependencyLoops(), findObjectByCatalogId(), finishInput(), ForgetBackgroundWorker(), format_aggregate_signature(), format_function_arguments_old(), format_function_signature(), free_copy_options(), free_keep_errno(), free_readfile(), free_stringlist(), free_struct_lconv(), freeaddrinfo(), freePGconn(), FreeVfd(), gather_boolean_expression(), gc_qtexts(), GenerateRecoveryConf(), get_alternative_expectfile(), get_prompt(), getaddrinfo(), getAnotherTuple(), GetConnection(), getNotify(), GetPrivateRefCountEntry(), getTableDataFKConstraints(), getTransforms(), HandleChildCrash(), HandleSlashCmds(), identify_locking_dependencies(), ignore_slash_filepipe(), ignore_slash_options(), ignore_slash_whole_line(), infile(), initialize_data_directory(), initialize_SSL(), internal_load_library(), internal_unload_library(), intoasc(), itsdir(), ListenToWorkers(), lo_initialize(), locale_date_order(), lose_s(), main(), MainLoop(), make_absolute_path(), makeAlterConfigCommand(), markPQExpBufferBroken(), mkdirs(), numericvar_to_double(), opendir(), output_deallocate_prepare_statement(), output_get_descr(), output_line_number(), output_prepare_statement(), output_row(), output_set_descr(), output_simple_statement(), output_statement(), outzone(), overwrite(), ParallelBackupEnd(), parse_and_validate_value(), parse_psql_options(), parseAclItem(), parseCommandLine(), PathNameOpenFile(), pclose_check(), pg_ctype_get_cache(), pg_dlclose(), pg_dlsym(), pg_fe_scram_free(), pg_fe_scram_init(), pg_free(), pg_freeaddrinfo_all(), pg_md5_encrypt(), pg_password_sendauth(), pg_SASL_continue(), pg_SASL_init(), pg_send_history(), pg_stat_statements_internal(), PGSharedMemoryCreate(), PGSharedMemoryIsInUse(), pgss_shmem_shutdown(), pgtls_init(), pgtypes_fmt_replace(), PGTYPESdate_defmt_asc(), PGTYPESdate_fmt_asc(), PGTYPESdate_free(), PGTYPESdecimal_free(), PGTYPESinterval_free(), PGTYPESinterval_from_asc(), PGTYPESnumeric_free(), PGTYPESnumeric_new(), PGTYPESnumeric_to_long(), PGTYPEStimestamp_defmt_asc(), PGTYPEStimestamp_defmt_scan(), pgwin32_putenv(), pgwin32_unsetenv(), pickout(), PostmasterMain(), PQclear(), PQconnectPoll(), PQconninfoFree(), PQdisplayTuples(), PQencryptPassword(), PQfnumber(), PQfreeCancel(), PQfreemem(), PQprint(), PQprintTuples(), PQregisterEventProc(), pqSaveParameterStatus(), PQsendDescribe(), PQsendPrepare(), PQsendQuery(), PQsendQueryGuts(), PQsetdbLogin(), PQunescapeBytea(), print_aligned_text(), print_aligned_vertical(), printTableCleanup(), printTableSetFooter(), PrintTOCSummary(), process_file(), process_postgres_switches(), process_psqlrc_file(), processEncodingEntry(), processExtensionTables(), ProcessGUCArray(), prompt_for_password(), psql_get_variable(), psql_start_test(), putVariable(), putVariableNumber(), qtext_load_file(), quote_if_needed(), rdatestr(), RE_compile_and_cache(), ReadDataFromArchiveNone(), readfile(), ReadToc(), regexp_fixed_prefix(), ReleaseSemaphores(), remove_typedefs(), remove_variables(), ReorderBufferToastReplace(), replace_string(), report_error_message(), report_multiple_error_messages(), reportErrorPosition(), restore_toc_entries_prefork(), RestoreArchive(), results_differ(), rfmtlong(), rulesub(), run_named_permutations(), run_permutation(), SelectConfigFiles(), sendCommand(), SendQuery(), set_config_option(), set_config_sourcefile(), set_extra_field(), set_null_conf(), set_string_field(), set_timetravel(), SetDataDir(), setup_config(), setup_conversion(), setup_dictionary(), setup_schema(), setup_sysviews(), SetVariable(), SlabFree(), SlabReset(), SN_close_env(), socket_close(), sortDumpableObjects(), split_to_stringlist(), sql_exec(), sql_exec_searchtables(), SSLerrfree(), StartAutovacuumWorker(), StoreQueryTuple(), stringlist_to_identifierstr(), strtokx(), tarClose(), tarOpen(), tarPrintf(), termPQExpBuffer(), TopoSort(), tzload(), uuid_generate_internal(), verify_peer_name_matches_certificate(), verify_peer_name_matches_certificate_name(), wait_for_tests(), WaitForCommands(), WaitForTerminatingWorkers(), write_auto_conf_file(), write_version_file(), writefile(), writezone(), xstrcat(), and yearistype().

#define malloc (   a)    palloc(a)

Definition at line 50 of file header.h.

Referenced by AllocSetAlloc(), AllocSetContextCreate(), assign_backendlist_entry(), BackendStartup(), BackgroundWorkerStateChange(), build_client_first_message(), check_client_encoding(), check_datestyle(), check_foreign_key(), check_log_timezone(), check_primary_key(), check_random_seed(), check_role(), check_session_authorization(), check_synchronous_standby_names(), check_temp_tablespaces(), check_timezone(), check_XactIsoLevel(), connectOptions2(), conninfo_init(), conninfo_uri_decode(), ConvertTimeZoneAbbrevs(), create_s(), createPaddedCopyWithLength(), createPQExpBuffer(), do_field(), do_header(), do_lo_import(), dupEvents(), ecpg_filter(), ecpg_log(), ecpg_strndup(), ECPGget_sqlca(), emalloc(), escape_single_quotes_ascii(), find_plan(), get_alternative_expectfile(), get_var1(), getaddrinfo(), getAnotherTuple(), GetConflictingVirtualXIDs(), getNotify(), GetRunningTransactionData(), GetSharedMemName(), GetSnapshotData(), guc_malloc(), InitFileAccess(), InitPgFdwOptions(), initPQExpBuffer(), initValue(), internal_load_library(), lo_initialize(), main(), make_absolute_path(), makeEmptyPGconn(), MemoryContextCreate(), mm_alloc(), my_BIO_s_socket(), opendir(), overwrite(), parsePGArray(), pg_ctype_get_cache(), pg_dlsym(), pg_fe_scram_init(), pg_malloc_internal(), pg_md5_encrypt(), pg_newlocale_from_collation(), pg_password_sendauth(), pg_SASL_continue(), PGReserveSemaphores(), pgtls_init(), pgwin32_unsetenv(), pickout(), plpgsql_extra_checks_check_hook(), pqAddTuple(), pqBuildStartupPacket2(), pqBuildStartupPacket3(), PQdisplayTuples(), PQencryptPassword(), PQescapeByteaInternal(), PQescapeInternal(), PQgetCancel(), pqGetCopyData2(), pqGetCopyData3(), PQmakeEmptyPGresult(), PQprintTuples(), PQregisterEventProc(), pqResultAlloc(), pqSaveParameterStatus(), PQunescapeBytea(), pthread_mutex_init(), qtext_load_file(), RE_compile_and_cache(), read_server_first_message(), RegisterBackgroundWorker(), reportErrorPosition(), reserveAllocatedDesc(), rfmtlong(), save_ps_display_args(), set_timetravel(), SlabAlloc(), SSLerrmessage(), StartAutovacuumWorker(), TransactionIdIsInProgress(), tzload(), unsetenv(), and verify_peer_name_matches_certificate_name().