Commit 7e423bb8 authored by Andrew Schein's avatar Andrew Schein Committed by Glenn Morris
Browse files

Small sql.el fix (tiny change)

* lisp/progmodes/sql.el (sql-comint-postgres):
Convert port number to a string.

Fixes: debbugs:9556
parent b4d72fcf
2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
* progmodes/sql.el (sql-comint-postgres):
Convert port number to a string. (Bug#9566)
2011-09-22 Martin Rudalics <rudalics@gmx.at>
* window.el (quit-window): Undedicate window when switching to
......
......@@ -4725,7 +4725,7 @@ Try to set `comint-output-filter-functions' like this:
(if (not (string= "" sql-user))
(setq params (append (list "-U" sql-user) params)))
(if (not (= 0 sql-port))
(setq params (append (list "-p" sql-port) params)))
(setq params (append (list "-p" (number-to-string sql-port)) params)))
(sql-comint product params)))
(defun sql-postgres-completion-object (sqlbuf schema)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment