diff options
| author | Stefan Kangas | 2023-08-24 22:07:44 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2023-08-24 22:07:44 +0200 |
| commit | bc69d216c7f7e1bd7562d72bcdb6ffc497287af8 (patch) | |
| tree | efbb8676a1dc682065a8abaf326ccbb1b739c067 /lisp/progmodes/sql.el | |
| parent | 3907c884f03cf5f2a09696bda015b1060c7111ba (diff) | |
| download | emacs-bc69d216c7f7e1bd7562d72bcdb6ffc497287af8.tar.gz emacs-bc69d216c7f7e1bd7562d72bcdb6ffc497287af8.zip | |
Modernize sql-postgres-options docstring
* lisp/progmodes/sql.el (sql-postgres-options): Don't refer to ancient
versions of PostgreSQL released in 1999 and 2001, respectively.
Diffstat (limited to 'lisp/progmodes/sql.el')
| -rw-r--r-- | lisp/progmodes/sql.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index 61c8525b77a..25eaab060c5 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el | |||
| @@ -1191,12 +1191,11 @@ Starts `sql-interactive-mode' after doing some setup." | |||
| 1191 | 1191 | ||
| 1192 | (defcustom sql-postgres-options '("-P" "pager=off") | 1192 | (defcustom sql-postgres-options '("-P" "pager=off") |
| 1193 | "List of additional options for `sql-postgres-program'. | 1193 | "List of additional options for `sql-postgres-program'. |
| 1194 | The default setting includes the -P option which breaks older versions | 1194 | The default -P option is equivalent to the --pset option. If you |
| 1195 | of the psql client (such as version 6.5.3). The -P option is equivalent | 1195 | want psql to prompt you for a user name, add the string \"-u\" to |
| 1196 | to the --pset option. If you want the psql to prompt you for a user | 1196 | the list of options. If you want to provide a user name on the |
| 1197 | name, add the string \"-u\" to the list of options. If you want to | 1197 | command line, add your name with a \"-U\" prefix (such as |
| 1198 | provide a user name on the command line (newer versions such as 7.1), | 1198 | \"-Umark\") to the list." |
| 1199 | add your name with a \"-U\" prefix (such as \"-Umark\") to the list." | ||
| 1200 | :type '(repeat string) | 1199 | :type '(repeat string) |
| 1201 | :version "20.8") | 1200 | :version "20.8") |
| 1202 | 1201 | ||