PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
char * | psprintf (const char *fmt,...) |
size_t | pvsnprintf (char *buf, size_t len, const char *fmt, va_list args) |
char* psprintf | ( | const char * | fmt, |
... | |||
) |
Definition at line 43 of file psprintf.c.
References generate_unaccent_rules::args, fmt, len, palloc(), pfree(), pvsnprintf(), va_end(), and va_start().
Referenced by _mdfd_segpath(), _printTocEntry(), accesstype_arg_to_string(), accesstype_to_string(), adjust_data_dir(), anytime_typmodout(), anytimestamp_typmodout(), auth_failed(), BaseBackup(), bbsink_server_begin_archive(), bbsink_server_begin_manifest(), bbsink_server_end_manifest(), BootstrapModeMain(), brin_metapage_info(), brin_page_type(), bt_entry_unique_check(), bt_metap(), bt_multi_page_stats(), bt_page_stats_internal(), bt_report_duplicate(), bt_target_page_check(), build_function_result_tupdesc_d(), build_server_final_message(), build_server_first_message(), build_subplan(), cash_out(), check_compressed_file(), check_control_files(), check_for_incompatible_polymorphics(), check_toast_tuple(), check_toasted_attribute(), check_tuple(), check_tuple_attribute(), check_tuple_header(), check_tuple_visibility(), check_valid_polymorphic_signature(), complex_out(), create_script_for_old_cluster_deletion(), create_tablespace_directories(), create_xlog_or_symlink(), CreateBackupStreamer(), data_type_check_query(), datasegpath(), dblink_get_pkey(), DebugPrintBufferRefcount(), defGetString(), describeOneTableDetails(), destroy_tablespace_directories(), determineNotNullFlags(), do_init(), do_shell(), dumpAttrDef(), dumpConstraint(), dumpFunc(), dumpPolicy(), dumpPublicationNamespace(), dumpPublicationTable(), dumpRule(), dumpSubscriptionTable(), dumpTrigger(), ecpg_postprocess_result(), ecpg_start_test(), editFile(), execute_extension_script(), expand_dynamic_library_name(), expand_tilde(), expect_boolean_value(), expect_integer_value(), ExplainNode(), ExplainPropertyFloat(), fetch_finfo_record(), filtered_base_yylex(), float4_to_char(), float8_to_char(), foreign_grouping_ok(), foreign_join_ok(), format_type_extended(), generate_object_name(), get_altertable_subcmdinfo(), get_collation_actual_version(), get_exec_path(), get_hba_options(), get_loadable_libraries(), get_old_cluster_logical_slot_infos_query(), get_role_password(), get_user_name(), GetConfFilesInDir(), GetDatabasePath(), getFormattedOperatorName(), GetIncrementalFilePath(), getObjectIdentityParts(), GetRelationPath(), GetWALBlockInfo(), GetWALRecordInfo(), GetXLogSummaryStats(), gtsvectorout(), GUCArrayAdd(), HandleParallelApplyMessage(), HandleParallelMessage(), initialize_data_directory(), initialize_environment(), initializeInput(), InitializeSystemUser(), InitWalRecovery(), int4_to_char(), isolation_start_test(), json_errdetail(), libpqrcv_connect(), line_out(), llvm_compile_module(), llvm_expand_funcname(), llvm_function_reference(), load_libraries(), log_status_format(), main(), make_temp_sockdir(), makeMultirangeTypeName(), md5_crypt_verify(), modify_subscriber_sysid(), open_auth_file(), parse_compress_specification(), parse_hba_auth_opt(), parse_hba_line(), parse_required_wal(), parseCommandLine(), perform_base_backup(), pg_control_checkpoint(), pg_get_multixact_members(), pg_import_system_collations(), pg_size_pretty_numeric(), pg_tablespace_databases(), pgstatindex_impl(), plain_crypt_verify(), postgresGetForeignRelSize(), postprocess_sql_command(), PrintManyTest(), PrintString(), printTypmod(), process_directory_recursively(), process_psqlrc_file(), ProcessConfigFileInternal(), prompt_for_password(), pset_value_string(), psql_start_test(), readCommandResponse(), reconstruct_from_incremental_file(), regcomp_auth_token(), ResourceOwnerReleaseAll(), ResOwnerPrintBufferIO(), ResOwnerPrintCatCache(), ResOwnerPrintCatCacheList(), ResOwnerPrintDSM(), ResOwnerPrintFile(), ResOwnerPrintRelCache(), ResOwnerPrintTupleDesc(), scram_init(), sendDir(), SendXlogRecPtrResult(), sequence_options(), set_input(), set_null_conf(), set_replication_progress(), set_tablespace_directory_suffix(), spawn_process(), sql_exec_searchtables(), SS_make_initplan_from_plan(), SS_process_ctes(), start_postmaster(), StartLogStreamer(), stop_standby_server(), StoreQueryTuple(), substitute_libpath_macro(), supports_compression(), test_resowner_many(), test_resowner_priorities(), test_singlerowmode(), tokenize_auth_file(), typenameTypeMod(), validate_compress_specification(), verify_backup_checksums(), verify_heapam(), verify_plain_backup_directory(), verify_tar_backup(), wait_for_connection_state(), widget_out(), write_version_file(), XLogDumpDisplayStats(), and xstrcat().
size_t pvsnprintf | ( | char * | buf, |
size_t | len, | ||
const char * | fmt, | ||
va_list | args | ||
) |
Definition at line 103 of file psprintf.c.
References _, generate_unaccent_rules::args, buf, elog, ereport, errcode(), errmsg(), ERROR, exit(), EXIT_FAILURE, fmt, fprintf, len, MaxAllocSize, unlikely, and vsnprintf.
Referenced by ahprintf(), appendJSONKeyValueFmt(), appendStringInfoVA(), archprintf(), psprintf(), and tarPrintf().