Re: Protection from SQL injection - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Protection from SQL injection
Date
Msg-id 23282.1209591218@sss.pgh.pa.us
Whole thread Raw
In response to Re: Protection from SQL injection  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: Protection from SQL injection  (Andrew Sullivan <ajs@commandprompt.com>)
List pgsql-hackers
Martijn van Oosterhout <kleptog@svana.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: TidScan needs handling of a corner cases
Next
From: Bryce Nesbitt
Date:
Subject: Re: Proposed patch - psql wraps at window width