X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=db-postgresql%2Fpostgresql-sql.lisp;h=16d5d2fc94a15adeff80016f7abbed465b9d0465;hb=44cd3f817f6f59ffe495db4cf2b9ea4637a57f75;hp=d93b153d2f06106b016fa4cfab8516733b4165d8;hpb=bb2818fb8a6714a55b360dec0bb043c5edccb3f4;p=clsql.git diff --git a/db-postgresql/postgresql-sql.lisp b/db-postgresql/postgresql-sql.lisp index d93b153..16d5d2f 100644 --- a/db-postgresql/postgresql-sql.lisp +++ b/db-postgresql/postgresql-sql.lisp @@ -158,6 +158,9 @@ :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