Re: Error in pgaccess (parse error at or near """) on create new user with password

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Thomas Swan <tswan(at)olemiss(dot)edu>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Error in pgaccess (parse error at or near """) on create new user with password
Date: 2000-05-10 21:24:34
Message-ID: Pine.LNX.4.21.0005102318221.30279-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane writes:

> > The password must be single-quoted nowadays. Put that on the 7.0.1 list
>
> I'd say single quotes is correct behavior for the password, actually.
> Double quotes are only appropriate in a position where an SQL name is
> wanted. The underlying syntax is really
> CREATE USER <name> WITH PASSWORD <string>

Yes, that's why we made that change. I was more referring to the pgaccess
"list". Sorry.

--
Peter Eisentraut Sernanders väg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2000-05-10 21:26:07 Re: Error in pgaccess (parse error at or near """) on create new user with password
Previous Message Mark Kirkwood 2000-05-10 07:42:12 Cluster fails