Thread: EXECUTE command tag returns actual command
This patch makes the EXECUTE command's completion tag return the completion tag of the actual statement executed. This allows the correct update count to be returned for UPDATE/INSERT/DELETE statements. Per discussion on hackers here: http://archives.postgresql.org/pgsql-hackers/2004-03/msg00923.php Kris Jurka
Patch applied. Thanks. --------------------------------------------------------------------------- Kris Jurka wrote: > > This patch makes the EXECUTE command's completion tag return the > completion tag of the actual statement executed. This allows the > correct update count to be returned for UPDATE/INSERT/DELETE > statements. Per discussion on hackers here: > > http://archives.postgresql.org/pgsql-hackers/2004-03/msg00923.php > > Kris Jurka Content-Description: [ Attachment, skipping... ] > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073