Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> void PQexec()
> {
> die();
> }
Actually disabling PQexec seems like a pretty poor decision; it breaks
working code to no purpose. Also, doing it on the client side means
you're at risk of some clients being secure and some not. I thought
what we were discussing was a server-side GUC parameter that would
disallow more than one SQL statement per PQexec.
regards, tom lane