* lisp/progmodes/sql.el (sql-comint-postgres):
Convert port number to a string.
Fixes: debbugs:9556
+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
(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)