Skip site navigation (1) Skip section navigation (2)

Re: No parameters support in "create user"?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Shachar Shemesh <psql(at)shemesh(dot)biz>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: No parameters support in "create user"?
Date: 2004-09-20 14:36:34
Message-ID: 11310.1095690994@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Shachar Shemesh <psql(at)shemesh(dot)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

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2004-09-20 15:02:50
Subject: Re: libpq and prepared statements progress for 8.0
Previous:From: Tom LaneDate: 2004-09-20 14:34:33
Subject: Re: schema level variables and deferrable unique constraints

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group