times instead of server and database).
(sql-sybase): Doc change.
(sql-mysql): Doc change.
(sql-postgres): Doc change.
+2001-03-05 Alex Schroeder <alex@gnu.org>
+
+ * sql.el (sql-sybase): Fix typo (was: query user about server two
+ times instead of server and database).
+
+ * sql.el (sql-sybase): Doc change.
+ (sql-mysql): Doc change.
+ (sql-postgres): Doc change.
+
2001-03-05 Kenichi Handa <handa@etl.go.jp>
* international/mule-conf.el (emacs-mule, raw-text): Docstring
2001-03-05 Kenichi Handa <handa@etl.go.jp>
* international/mule-conf.el (emacs-mule, raw-text): Docstring
;;; sql.el --- specialized comint.el for SQL interpreters
;;; sql.el --- specialized comint.el for SQL interpreters
-;; Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
+;; Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
;; Author: Alex Schroeder <alex@gnu.org>
;; Maintainer: Alex Schroeder <alex@gnu.org>
;; Author: Alex Schroeder <alex@gnu.org>
;; Maintainer: Alex Schroeder <alex@gnu.org>
;; Keywords: comm languages processes
;; This file is part of GNU Emacs.
;; Keywords: comm languages processes
;; This file is part of GNU Emacs.
Interpreter used comes from variable `sql-sybase-program'. Login uses
the variables `sql-server', `sql-user', `sql-password', and
Interpreter used comes from variable `sql-sybase-program'. Login uses
the variables `sql-server', `sql-user', `sql-password', and
-`sql-database' as defaults, if set.
+`sql-database' as defaults, if set. Additional command line parameters
+can be stored in the list `sql-sybase-options'.
The buffer is put in sql-interactive-mode, giving commands for sending
input. See `sql-interactive-mode'.
The buffer is put in sql-interactive-mode, giving commands for sending
input. See `sql-interactive-mode'.
(interactive)
(if (comint-check-proc "*SQL*")
(pop-to-buffer "*SQL*")
(interactive)
(if (comint-check-proc "*SQL*")
(pop-to-buffer "*SQL*")
- (sql-get-login 'server 'user 'password 'server)
+ (sql-get-login 'server 'user 'password 'database)
(message "Login...")
;; Put all parameters to the program (if defined) in a list and call
;; make-comint.
(message "Login...")
;; Put all parameters to the program (if defined) in a list and call
;; make-comint.
Interpreter used comes from variable `sql-mysql-program'. Login uses
the variables `sql-user', `sql-password', `sql-database', and
Interpreter used comes from variable `sql-mysql-program'. Login uses
the variables `sql-user', `sql-password', `sql-database', and
-`sql-server' as defaults, if set.
+`sql-server' as defaults, if set. Additional command line parameters
+can be stored in the list `sql-mysql-options'.
The buffer is put in sql-interactive-mode, giving commands for sending
input. See `sql-interactive-mode'.
The buffer is put in sql-interactive-mode, giving commands for sending
input. See `sql-interactive-mode'.
Interpreter used comes from variable `sql-postgres-program'. Login uses
the variables `sql-database' and `sql-server' as default, if set.
Interpreter used comes from variable `sql-postgres-program'. Login uses
the variables `sql-database' and `sql-server' as default, if set.
+Additional command line parameters can be stored in the list
+`sql-postgres-options'.
The buffer is put in sql-interactive-mode, giving commands for sending
input. See `sql-interactive-mode'.
The buffer is put in sql-interactive-mode, giving commands for sending
input. See `sql-interactive-mode'.