|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Functions | |
| static void | pg_log_v (eLogType type, const char *fmt, va_list ap) pg_attribute_printf(2 |
| static void void | report_status (eLogType type, const char *fmt,...) |
| void | end_progress_output (void) |
| void | cleanup_output_dirs (void) |
| void | prep_status (const char *fmt,...) |
| void | prep_status_progress (const char *fmt,...) |
| void | pg_log (eLogType type, const char *fmt,...) |
| void | pg_fatal (const char *fmt,...) |
| void | check_ok (void) |
| char * | quote_identifier (const char *s) |
| int | get_user_info (char **user_name_p) |
| unsigned int | str2uint (const char *str) |
Variables | |
| LogOpts | log_opts |
Definition at line 284 of file util.c.
References PG_REPORT, and report_status().
Definition at line 63 of file util.c.
References Assert, LogOpts::basedir, fb(), LogOpts::internal, log_opts, pg_check_dir(), pg_log(), PG_WARNING, LogOpts::retain, rmtree(), and LogOpts::rootdir.
Referenced by main(), and report_clusters_compatible().
Definition at line 43 of file util.c.
References LogOpts::isatty, log_opts, MESSAGE_WIDTH, pg_log(), PG_REPORT_NONL, printf, and LogOpts::verbose.
Referenced by create_logical_replication_slots(), create_new_objects(), generate_old_dump(), and transfer_all_new_tablespaces().
Definition at line 323 of file util.c.
References fb(), get_user_name(), pg_fatal, and pg_strdup().
Referenced by parseCommandLine().
Definition at line 270 of file util.c.
References _, fb(), PG_FATAL, pg_log_v(), and printf.
Definition at line 259 of file util.c.
References fb(), pg_log_v(), and type.
Referenced by cleanup_output_dirs(), end_progress_output(), prep_status(), and prep_status_progress().
Definition at line 176 of file util.c.
References _, Assert, fb(), fprintf, LogOpts::internal, LogOpts::isatty, log_opts, MESSAGE_WIDTH, PG_FATAL, PG_REPORT, PG_REPORT_NONL, PG_STATUS, PG_VERBOSE, PG_WARNING, printf, QUERY_ALLOC, type, LogOpts::verbose, and vsnprintf.
Referenced by pg_fatal(), pg_log(), and report_status().
Definition at line 129 of file util.c.
References fb(), MAX_STRING, MESSAGE_WIDTH, pg_log(), PG_REPORT_NONL, and vsnprintf.
Definition at line 156 of file util.c.
References fb(), LogOpts::isatty, log_opts, MAX_STRING, MESSAGE_WIDTH, pg_log(), PG_REPORT, PG_REPORT_NONL, LogOpts::verbose, and vsnprintf.
Definition at line 299 of file util.c.
References fb(), and pg_malloc().
Definition at line 352 of file util.c.
Referenced by get_control_data().
| LogOpts log_opts |
Definition at line 17 of file util.c.
Referenced by check_for_connection_status(), check_for_gist_inet_ops(), check_for_incompatible_polymorphics(), check_for_isn_and_int8_passing_mismatch(), check_for_not_null_inheritance(), check_for_pg_role_prefix(), check_for_tables_with_oids(), check_for_unicode_update(), check_for_user_defined_encoding_conversions(), check_for_user_defined_postfix_ops(), check_loadable_libraries(), check_old_cluster_for_valid_slots(), check_old_cluster_subscription_state(), cleanup_output_dirs(), create_new_objects(), end_progress_output(), exec_prog(), generate_old_dump(), get_db_rel_and_slot_infos(), make_outputdirs(), parseCommandLine(), pg_log_v(), prep_status_progress(), prepare_new_cluster(), prepare_new_globals(), process_data_type_check(), and start_postmaster().