git.iko.soy/typeable/postgresql-simple
on master help sign in
Merge pull request #7 from linearray/master
11c856cOleg Grenrus
src/Database/PostgreSQL/Simple/Internal/PQResultUtils.hs+1−1
@@ -73,7 +73,7 @@ finishQueryWith' q result k = do
73 case status of
73 case status of
74 PQ.TuplesOk -> k
74 PQ.TuplesOk -> k
75 PQ.EmptyQuery -> queryErr "query: Empty query"
75 PQ.EmptyQuery -> queryErr "query: Empty query"
76− PQ.CommandOk -> queryErr "query resulted in a command response"
76+ PQ.CommandOk -> queryErr "query resulted in a command response (did you mean to use `execute` or forget a RETURNING?)"
77 PQ.CopyOut -> queryErr "query: COPY TO is not supported"
77 PQ.CopyOut -> queryErr "query: COPY TO is not supported"
78 PQ.CopyIn -> queryErr "query: COPY FROM is not supported"
78 PQ.CopyIn -> queryErr "query: COPY FROM is not supported"
79#if MIN_VERSION_postgresql_libpq(0,9,3)
79#if MIN_VERSION_postgresql_libpq(0,9,3)