diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-18 05:29:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-18 05:29:45 +0000 |
commit | 016afc2a00e9681fa2e8ab9ad847334e12e2a0c6 (patch) | |
tree | 79af04d99850a5bfdd0b1983536873fbc21006f5 /pgcli/pgclirc | |
parent | Releasing debian version 4.0.1-1. (diff) | |
download | pgcli-016afc2a00e9681fa2e8ab9ad847334e12e2a0c6.tar.xz pgcli-016afc2a00e9681fa2e8ab9ad847334e12e2a0c6.zip |
Merging upstream version 4.1.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'pgcli/pgclirc')
-rw-r--r-- | pgcli/pgclirc | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/pgcli/pgclirc b/pgcli/pgclirc index 51f7eae..dd8b15f 100644 --- a/pgcli/pgclirc +++ b/pgcli/pgclirc @@ -33,10 +33,11 @@ multi_line_mode = psql # "unconditional_update" will warn you of update statements that don't have a where clause destructive_warning = drop, shutdown, delete, truncate, alter, update, unconditional_update -# Destructive warning can restart the connection if this is enabled and the -# user declines. This means that any current uncommitted transaction can be -# aborted if the user doesn't want to proceed with a destructive_warning -# statement. +# When `destructive_warning` is on and the user declines to proceed with a +# destructive statement, the current transaction (if any) is left untouched, +# by default. When setting `destructive_warning_restarts_connection` to +# "True", the connection to the server is restarted. In that case, the +# transaction (if any) is rolled back. destructive_warning_restarts_connection = False # When this option is on (and if `destructive_warning` is not empty), @@ -155,6 +156,11 @@ max_field_width = 500 # Skip intro on startup and goodbye on exit less_chatty = False +# Show all Postgres error fields (as listed in +# https://www.postgresql.org/docs/current/protocol-error-fields.html). +# Can be toggled with \v. +verbose_errors = False + # Postgres prompt # \t - Current date and time # \u - Username |