emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105872: Small sql.el fix (tiny chang


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105872: Small sql.el fix (tiny change)
Date: Thu, 22 Sep 2011 00:05:40 -0700
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105872
fixes bug(s): http://debbugs.gnu.org/9556
author: Andrew Schein <address@hidden>
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2011-09-22 00:05:40 -0700
message:
  Small sql.el fix (tiny change)
  
  * lisp/progmodes/sql.el (sql-comint-postgres):
  Convert port number to a string.
modified:
  lisp/ChangeLog
  lisp/progmodes/sql.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-09-22 06:56:19 +0000
+++ b/lisp/ChangeLog    2011-09-22 07:05:40 +0000
@@ -1,3 +1,8 @@
+2011-09-22  Andrew Schein  <address@hidden>  (tiny change)
+
+       * progmodes/sql.el (sql-comint-postgres):
+       Convert port number to a string.  (Bug#9566)
+
 2011-09-22  Martin Rudalics  <address@hidden>
 
        * window.el (quit-window): Undedicate window when switching to

=== modified file 'lisp/progmodes/sql.el'
--- a/lisp/progmodes/sql.el     2011-07-06 03:51:48 +0000
+++ b/lisp/progmodes/sql.el     2011-09-22 07:05:40 +0000
@@ -4725,7 +4725,7 @@
     (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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]