doesn't :n
specify the columns affected by the query ? The above error indicates that postgresql does not return the rows affected and this might be the reason for the error message
@dionysius.almeida so problem is with Postgresql?
not sure..try with :n in the query
or run the sql command directly in postgres and see if you get an error
without :n
http://www.postgresqltutorial.com/postgresql-delete/ here postgres returns no. of affected rows.
maybe see what sql your query is producing and run that sql directly in postgresql and if you get the same error
mydb=# DELETE FROM mytable; DELETE 3
It returned No. of rows affected.