diff options
Diffstat (limited to 'pgcli/pgclirc')
-rw-r--r-- | pgcli/pgclirc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pgcli/pgclirc b/pgcli/pgclirc index e97afdab..60b79a20 100644 --- a/pgcli/pgclirc +++ b/pgcli/pgclirc @@ -58,7 +58,8 @@ generate_casing_file = False # Casing of column headers based on the casing_file described above case_column_headers = True -# history_file location. +# default history_file location. You can also set history file location for +# specific database. see [dsn_history_file] section. # In Unix/Linux: ~/.config/pgcli/history # In Windows: %USERPROFILE%\AppData\Local\dbcli\pgcli\history # %USERPROFILE% is typically C:\Users\{username} @@ -187,6 +188,11 @@ output.null = "#808080" [alias_dsn] # example_dsn = postgresql://[user[:password]@][netloc][:port][/dbname] +# Specify sperate history file for alias_dsn. +# If not set, will use history_file settings. +[dsn_history_file] +# example_dsn = ~/.config/pgcli/example_dsn.history + # Format for number representation # for decimal "d" - 12345678, ",d" - 12,345,678 # for float "g" - 123456.78, ",g" - 123,456.78 |