summaryrefslogtreecommitdiff
path: root/test/lib-src
diff options
context:
space:
mode:
authorSimen Heggestøyl <simenheg@gmail.com>2017-08-09 15:34:34 +0200
committerSimen Heggestøyl <simenheg@gmail.com>2017-09-05 20:31:21 +0200
commitfca62384537e1a32e867f4d3181e0b2b79396383 (patch)
treec6586fb7df23770b3f2f7763a9d3337c05653285 /test/lib-src
parent25a49f64963d1c2a392ebaa66676042b55e0e3c1 (diff)
downloademacs-fca62384537e1a32e867f4d3181e0b2b79396383.tar.gz
emacs-fca62384537e1a32e867f4d3181e0b2b79396383.tar.bz2
emacs-fca62384537e1a32e867f4d3181e0b2b79396383.zip
Handle non-zero exit status from psql more gracefully
* lisp/progmodes/sql.el (sql-postgres-list-databases): Handle non-zero exit statuses from `psql -ltX' more gracefully by returning nil. * test/lisp/progmodes/sql-tests.el (sql-tests-postgres-list-databases-error): New test.
Diffstat (limited to 'test/lib-src')
0 files changed, 0 insertions, 0 deletions