branch: externals/pq
commit 80445371225054df4f9e0b3eeaae8f9145cc95c9
Author: Andreas Seltenreich <seltenre...@gmx.de>
Commit: Andreas Seltenreich <seltenre...@gmx.de>

    Add testcase that provokes a NOTIFY.
---
 test.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test.el b/test.el
index c999567ef2..76cfb730aa 100644
--- a/test.el
+++ b/test.el
@@ -19,6 +19,10 @@
 (pq:escapeIdentifier con "moo'oo\"oo")
 ;; "\"moo'oo\"\"oo\""
 (pq:query con "select true, false, NULL, version()")
+
+;; provoke a warning
+(pq:query con "drop table if exists nonexisting_table")
+
 (setq con (pq:connectdb))
 (setq con nil)
 (garbage-collect)

Reply via email to