Pg_current_logfile
Query the PostgreSQL Configuration
Apr 8, 2024 / · 8 min read · postgresql database administration pg_settings pg_current_logfile pg_ls_archive_statusdir pg_ls_logdir pg_ls_tmpdir pg_ls_waldir pg_size_pretty ·Your PostgreSQL Configuration PostgreSQL 12 finished a set of SQL functions that list the contents of the server's own directories: pg_ls_waldir() and pg_ls_logdir() arrived in version 10, and pg_ls_archive_statusdir() and pg_ls_tmpdir() followed in 12. Combined with current_setting() for the paths themselves, a single …
Read MoreUnveiling Your PostgreSQL Server - A Diagnostic Powerhouse
Apr 4, 2024 / · 6 min read · postgresql database server administration monitoring pg_settings pg_backend_pid pg_backup_start_time pg_conf_load_time pg_current_logfile pg_is_in_backup pg_is_in_recovery pg_is_wal_replay_paused pg_jit_available pg_last_wal_receive_lsn pg_last_wal_replay_lsn pg_last_xact_replay_timestamp pg_listening_channels pg_ls_archive_statusdir pg_ls_logdir pg_ls_tmpdir pg_ls_waldir pg_postmaster_start_time pg_reload_conf pg_rotate_logfile pg_sleep pg_sleep_for pg_sleep_until ·Unveiling Your PostgreSQL Server: A Treasure Trove of Information This comprehensive PostgreSQL script delves into the inner workings of your database server, revealing valuable details about its version, configuration, connections, users, and more. It empowers database administrators and developers with insights to …
Read More