diff options
| author | Gerd Moellmann | 2000-12-19 10:09:25 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-12-19 10:09:25 +0000 |
| commit | 524c8caf600081319f2851be96b11fb3c5fcb37d (patch) | |
| tree | b3889519cc0602b910227df0d7491ba95cd17788 /lisp/progmodes/sql.el | |
| parent | 7eca557bc90f19157885bce3f4ae701f75c116fa (diff) | |
| download | emacs-524c8caf600081319f2851be96b11fb3c5fcb37d.tar.gz emacs-524c8caf600081319f2851be96b11fb3c5fcb37d.zip | |
(sql-sybase-options): New option.
(sql-sybase): Use it. Add sql-database to the list of parameters
provided for login. The options -w 2048 -n are not used any more.
(sql-postgres-options): Changed default from "--pset" to "-P".
(sql-mysql-options): Doc change.
(sql-stop): Doc change.
Diffstat (limited to 'lisp/progmodes/sql.el')
| -rw-r--r-- | lisp/progmodes/sql.el | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index 70b053899ac..b40b2c8929a 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | ;; Author: Alex Schroeder <alex@gnu.org> | 5 | ;; Author: Alex Schroeder <alex@gnu.org> |
| 6 | ;; Maintainer: Alex Schroeder <alex@gnu.org> | 6 | ;; Maintainer: Alex Schroeder <alex@gnu.org> |
| 7 | ;; Version: 1.4.23 | 7 | ;; Version: 1.4.24 |
| 8 | ;; Keywords: comm languages processes | 8 | ;; Keywords: comm languages processes |
| 9 | 9 | ||
| 10 | ;; This file is part of GNU Emacs. | 10 | ;; This file is part of GNU Emacs. |
| @@ -273,7 +273,9 @@ The program can also specify a TCP connection. See `make-comint'." | |||
| 273 | :group 'SQL) | 273 | :group 'SQL) |
| 274 | 274 | ||
| 275 | (defcustom sql-mysql-options nil | 275 | (defcustom sql-mysql-options nil |
| 276 | "*List of additional options for `sql-mysql-program'." | 276 | "*List of additional options for `sql-mysql-program'. |
| 277 | The following list of options is reported to make things work | ||
| 278 | on Windows: \"-C\" \"-t\" \"-f\" \"-n\"." | ||
| 277 | :type '(repeat string) | 279 | :type '(repeat string) |
| 278 | :version "20.8" | 280 | :version "20.8" |
| 279 | :group 'SQL) | 281 | :group 'SQL) |
| @@ -351,10 +353,11 @@ The program can also specify a TCP connection. See `make-comint'." | |||
| 351 | :type 'file | 353 | :type 'file |
| 352 | :group 'SQL) | 354 | :group 'SQL) |
| 353 | 355 | ||
| 354 | (defcustom sql-postgres-options '("--pset" "pager=off") | 356 | (defcustom sql-postgres-options '("-P" "pager=off") |
| 355 | "*List of additional options for `sql-postgres-program'. | 357 | "*List of additional options for `sql-postgres-program'. |
| 356 | The default setting includes the --pset option which breaks | 358 | The default setting includes the -P option which breaks |
| 357 | older versions of the psql client (such as version 6.5.3). | 359 | older versions of the psql client (such as version 6.5.3). |
| 360 | The -P option is equivalent to the --pset option. | ||
| 358 | If you want the psql to prompt you for a user name, add the | 361 | If you want the psql to prompt you for a user name, add the |
| 359 | string \"-u\" to the list of options." | 362 | string \"-u\" to the list of options." |
| 360 | :type '(repeat string) | 363 | :type '(repeat string) |
| @@ -1188,8 +1191,6 @@ you entered, right above the output it created. | |||
| 1188 | 1191 | ||
| 1189 | Writes the input history to a history file using | 1192 | Writes the input history to a history file using |
| 1190 | `comint-write-input-ring' and inserts a short message in the SQL buffer. | 1193 | `comint-write-input-ring' and inserts a short message in the SQL buffer. |
| 1191 | `comint-comint-input-ring-file-name' is temporarily bound to | ||
| 1192 | `sql-input-ring-file-name'. | ||
| 1193 | 1194 | ||
| 1194 | This function is a sentinel watching the SQL interpreter process. | 1195 | This function is a sentinel watching the SQL interpreter process. |
| 1195 | Sentinels will always get the two parameters PROCESS and EVENT." | 1196 | Sentinels will always get the two parameters PROCESS and EVENT." |