From: Gerd Moellmann Date: Tue, 19 Dec 2000 10:09:25 +0000 (+0000) Subject: (sql-sybase-options): New option. X-Git-Tag: emacs-pretest-21.0.95~407 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=524c8caf600081319f2851be96b11fb3c5fcb37d;p=emacs.git (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. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 81d1ccd1b58..c3a537fbc09 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,12 @@ +2000-12-19 Alex Schroeder + + * sql.el (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. + 2000-12-19 Kenichi Handa * international/quail.el (quail-input-method): Always hide 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 @@ ;; Author: Alex Schroeder ;; Maintainer: Alex Schroeder -;; Version: 1.4.23 +;; Version: 1.4.24 ;; Keywords: comm languages processes ;; This file is part of GNU Emacs. @@ -273,7 +273,9 @@ The program can also specify a TCP connection. See `make-comint'." :group 'SQL) (defcustom sql-mysql-options nil - "*List of additional options for `sql-mysql-program'." + "*List of additional options for `sql-mysql-program'. +The following list of options is reported to make things work +on Windows: \"-C\" \"-t\" \"-f\" \"-n\"." :type '(repeat string) :version "20.8" :group 'SQL) @@ -351,10 +353,11 @@ The program can also specify a TCP connection. See `make-comint'." :type 'file :group 'SQL) -(defcustom sql-postgres-options '("--pset" "pager=off") +(defcustom sql-postgres-options '("-P" "pager=off") "*List of additional options for `sql-postgres-program'. -The default setting includes the --pset option which breaks +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." :type '(repeat string) @@ -1188,8 +1191,6 @@ you entered, right above the output it created. Writes the input history to a history file using `comint-write-input-ring' and inserts a short message in the SQL buffer. -`comint-comint-input-ring-file-name' is temporarily bound to -`sql-input-ring-file-name'. This function is a sentinel watching the SQL interpreter process. Sentinels will always get the two parameters PROCESS and EVENT."