Re: No parameters support in "create user"? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: No parameters support in "create user"?
Date
Msg-id 12813.1095701341@sss.pgh.pa.us
Whole thread Raw
In response to Re: No parameters support in "create user"?  (Shachar Shemesh <psql@shemesh.biz>)
List pgsql-hackers
Shachar Shemesh <psql@shemesh.biz> writes:
> Tom Lane wrote:
>> Parameters are only supported in plannable statements
>> (SELECT/INSERT/UPDATE/DELETE; I think there is some hack for DECLARE
>> CURSOR these days too).

> That's a shame.

> Aside from executing prepared statements, parameters are also useful for 
> preventing SQL injections. Under those cases, they are useful for all 
> commands, not only those that can be prepared.

Sure.  Are you volunteering to fix it?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: libpq and prepared statements progress for 8.0
Next
From: Fx
Date:
Subject: How to change/replace an in-memory palloced tuple- tuple data