]> git.eshelyaron.com Git - emacs.git/commitdiff
Modernize sql-postgres-options docstring
authorStefan Kangas <stefankangas@gmail.com>
Thu, 24 Aug 2023 20:07:44 +0000 (22:07 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Thu, 24 Aug 2023 20:07:44 +0000 (22:07 +0200)
* lisp/progmodes/sql.el (sql-postgres-options): Don't refer to ancient
versions of PostgreSQL released in 1999 and 2001, respectively.

lisp/progmodes/sql.el

index 61c8525b77aeb00a61cd0c0b40274a1793a6183e..25eaab060c5b2e49dee1492a0c6eba59fd9e3855 100644 (file)
@@ -1191,12 +1191,11 @@ Starts `sql-interactive-mode' after doing some setup."
 
 (defcustom sql-postgres-options '("-P" "pager=off")
   "List of additional options for `sql-postgres-program'.
-The default setting includes the -P option which breaks older versions
-of the psql client (such as version 6.5.3).  The -P option is equivalent
-to the --pset option.  If you want the psql to prompt you for a user
-name, add the string \"-u\" to the list of options.  If you want to
-provide a user name on the command line (newer versions such as 7.1),
-add your name with a \"-U\" prefix (such as \"-Umark\") to the list."
+The default -P option is equivalent to the --pset option.  If you
+want psql to prompt you for a user name, add the string \"-u\" to
+the list of options.  If you want to provide a user name on the
+command line, add your name with a \"-U\" prefix (such as
+\"-Umark\") to the list."
   :type '(repeat string)
   :version "20.8")