Re: Username with a hyphen character (grant failing?)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sean Chittenden <sean-pgsql-general(at)chittenden(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Username with a hyphen character (grant failing?)
Date: 2001-05-25 14:27:34
Message-ID: 5057.990800854@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sean Chittenden <sean-pgsql-general(at)chittenden(dot)org> writes:
> What's the scoop with username constraints? I setup and
> created a user with a '-' character in the middle (worked).

Double quotes are your friend when dealing with names that don't
follow the usual constraints for identifiers.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Manuel Durán Aguete 2001-05-25 14:29:08 [URGENT] How to generata a unique string id
Previous Message Len Morgan 2001-05-25 14:24:34 Re: COPY with default values?