no of affected rows in prepared stmts

Started by Rahul_Iyerover 22 years ago2 messages
#1Rahul_Iyer
rahul_iyer@persistent.co.in

hi
whenever i call an execute on a prepared statement, i get the return value
of PQcmdTuples() as NULL even if the query did modify tuples...
how can i get the number of affected tuples?
thanx in adv.
rahul

#2Christoph Haller
ch@rodos.fzk.de
In reply to: Rahul_Iyer (#1)
Re: no of affected rows in prepared stmts

hi
whenever i call an execute on a prepared statement, i get the return

value

of PQcmdTuples() as NULL even if the query did modify tuples...
how can i get the number of affected tuples?
thanx in adv.
rahul

I'm observing the same pretty odd behavior.
Do we both expect something wrong.
Regards, Christoph