HorizonDB - Reporting and Logging / What to Log

This article lists parameters shared by PostgreSQL 17 and PostgreSQL 18 (Preview). Version-specific entries follow where their attributes or availability differ.

Template value is the configuration template's value, not a verification of your compute pool's effective value. A hyphen (-) means the template doesn't declare the attribute. It doesn't mean that a parameter is writable or dynamic.

For your compute pool's configured and effective values, see List and filter parameters.

Shared parameters

application_name

Attribute Value
Category Reporting and Logging / What to Log
PostgreSQL versions 17, 18 (Preview)
Description Sets the application name to report in statistics and logs.
Data type string
Template value ""
Allowed values [A-Za-z0-9._-]*
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

debug_pretty_print

Attribute Value
Category Reporting and Logging / What to Log
PostgreSQL versions 17, 18 (Preview)
Description Indents parse and plan tree displays.
Data type boolean
Template value on
Allowed values on,off
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

debug_print_parse

Attribute Value
Category Reporting and Logging / What to Log
PostgreSQL versions 17, 18 (Preview)
Description Logs each query's parse tree.
Data type boolean
Template value off
Allowed values on,off
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

debug_print_plan

Attribute Value
Category Reporting and Logging / What to Log
PostgreSQL versions 17, 18 (Preview)
Description Logs each query's execution plan.
Data type boolean
Template value off
Allowed values on,off
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

debug_print_rewritten

Attribute Value
Category Reporting and Logging / What to Log
PostgreSQL versions 17, 18 (Preview)
Description Logs each query's rewritten parse tree.
Data type boolean
Template value off
Allowed values on,off
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

log_autovacuum_min_duration

Attribute Value
Category Reporting and Logging / What to Log
PostgreSQL versions 17, 18 (Preview)
Description Sets the minimum execution time above which autovacuum actions will be logged. Zero prints all actions. -1 turns autovacuum logging off.
Data type integer
Template value 10000
Unit ms
Allowed values -1-2147483647
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

log_checkpoints

Attribute Value
Category Reporting and Logging / What to Log
PostgreSQL versions 17, 18 (Preview)
Description Logs each checkpoint.
Data type boolean
Template value on
Allowed values on,off
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

log_disconnections

Attribute Value
Category Reporting and Logging / What to Log
PostgreSQL versions 17, 18 (Preview)
Description Logs end of a session, including duration.
Data type boolean
Template value on
Allowed values on,off
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

log_duration

Attribute Value
Category Reporting and Logging / What to Log
PostgreSQL versions 17, 18 (Preview)
Description Logs the duration of each completed SQL statement.
Data type boolean
Template value off
Allowed values on,off
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

log_error_verbosity

Attribute Value
Category Reporting and Logging / What to Log
PostgreSQL versions 17, 18 (Preview)
Description Sets the verbosity of logged messages.
Data type enumeration
Template value default
Allowed values terse,default,verbose
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

log_hostname

Attribute Value
Category Reporting and Logging / What to Log
PostgreSQL versions 17, 18 (Preview)
Description Logs the host name in the connection logs. By default, connection logs only show the IP address of the connecting host. If you want them to show the host name, turn on this setting. Depending on your host name resolution setup, it might impose a performance penalty.
Data type boolean
Template value off
Allowed values on,off
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

log_line_prefix

Attribute Value
Category Reporting and Logging / What to Log
PostgreSQL versions 17, 18 (Preview)
Description Controls the information prefixed to each log line. If you set it to blank, no prefix is used.
Data type string
Template value %t-%c-
Allowed values [^']*
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

log_lock_waits

Attribute Value
Category Reporting and Logging / What to Log
PostgreSQL versions 17, 18 (Preview)
Description Logs long lock waits.
Data type boolean
Template value on
Allowed values on,off
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

log_parameter_max_length

Attribute Value
Category Reporting and Logging / What to Log
PostgreSQL versions 17, 18 (Preview)
Description Sets the maximum length in bytes of data logged for bind parameter values when logging statements. Use -1 to print values in full.
Data type integer
Template value -1
Unit B
Allowed values -1-1073741823
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

log_parameter_max_length_on_error

Attribute Value
Category Reporting and Logging / What to Log
PostgreSQL versions 17, 18 (Preview)
Description Sets the maximum length in bytes of data logged for bind parameter values when logging statements, on error. Use -1 to print values in full.
Data type integer
Template value 0
Unit B
Allowed values -1-1073741823
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

log_recovery_conflict_waits

Attribute Value
Category Reporting and Logging / What to Log
PostgreSQL versions 17, 18 (Preview)
Description Logs standby recovery conflict waits.
Data type boolean
Template value off
Allowed values on,off
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

log_replication_commands

Attribute Value
Category Reporting and Logging / What to Log
PostgreSQL versions 17, 18 (Preview)
Description Logs each replication command.
Data type boolean
Template value on
Allowed values on,off
Read-only Yes
Parameter type read-only
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

log_statement

Attribute Value
Category Reporting and Logging / What to Log
PostgreSQL versions 17, 18 (Preview)
Description Sets the type of statements to log.
Data type enumeration
Template value none
Allowed values none,ddl,mod,all
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

log_temp_files

Attribute Value
Category Reporting and Logging / What to Log
PostgreSQL versions 17, 18 (Preview)
Description Log the use of temporary files larger than this number of kilobytes. Zero logs all files. The default is -1 (turning this feature off).
Data type integer
Template value -1
Unit kB
Allowed values -1-2147483647
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

log_timezone

Attribute Value
Category Reporting and Logging / What to Log
PostgreSQL versions 17, 18 (Preview)
Description Sets the time zone to use in log messages.
Data type string
Template value GMT
Allowed values .*
Read-only Yes
Parameter type read-only
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

PostgreSQL 17

log_connections

Attribute Value
Category Reporting and Logging / What to Log
Description Logs each successful connection.
Data type boolean
Template value on
Allowed values on,off
Read-only -
Parameter type -
Documentation log_connections

PostgreSQL 18 (Preview)

log_connections (PostgreSQL 18)

Attribute Value
Category Reporting and Logging / What to Log
Description Controls logging of connection receipt, authentication, authorization, and setup durations.
Data type set
Template value on
Allowed values on,off,receipt,authentication,authorization,setup_durations,all
Read-only -
Parameter type -
Documentation log_connections

log_lock_failures (PostgreSQL 18)

Attribute Value
Category Reporting and Logging / What to Log
Description Controls whether to produce a detailed log message when a lock acquisition fails.
Data type boolean
Template value off
Allowed values on,off
Read-only -
Parameter type -
Documentation log_lock_failures