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 11310.1095690994@sss.pgh.pa.us
Whole thread Raw
In response to No parameters support in "create user"?  (Shachar Shemesh <psql@shemesh.biz>)
Responses Re: No parameters support in "create user"?
List pgsql-hackers
Shachar Shemesh <psql@shemesh.biz> writes:
> create user $1 with encrypted password $2

> Any idea why this is not working?

Parameters are only supported in plannable statements
(SELECT/INSERT/UPDATE/DELETE; I think there is some hack for DECLARE
CURSOR these days too).
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: schema level variables and deferrable unique constraints
Next
From: Tom Lane
Date:
Subject: Re: libpq and prepared statements progress for 8.0