r9519: add prepared statements for postgresql
[clsql.git] / db-postgresql / postgresql-sql.lisp
index d93b153d2f06106b016fa4cfab8516733b4165d8..16d5d2fc94a15adeff80016f7abbed465b9d0465 100644 (file)
                  :message (tidy-error-message (PQerrorMessage conn-ptr))))
         (unwind-protect
             (case (PQresultStatus result)
+             ;; User gave a command rather than a query 
+              (#.pgsql-exec-status-type#command-ok
+               nil)
               (#.pgsql-exec-status-type#empty-query
                nil)
               (#.pgsql-exec-status-type#tuples-ok