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

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: Username with a hyphen character (grant failing?)
Дата
Msg-id m3r8xde8vp.fsf@belphigor.mcnaught.org
обсуждение исходный текст
Ответ на Username with a hyphen character (grant failing?)  (Sean Chittenden <sean-pgsql-general@chittenden.org>)
Ответы Re: Username with a hyphen character (grant failing?)  (will trillich <will@serensoft.com>)
Список pgsql-general
Sean Chittenden <sean-pgsql-general@chittenden.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.
>
>     Are single quotes treated differently than double?  I tried
> single, but didn't have any luck...  -sc

Yes.  Single quotes are for strings; double quotes are for
identifiers.

-Doug
--
The rain man gave me two cures; he said jump right in,
The first was Texas medicine--the second was just railroad gin,
And like a fool I mixed them, and it strangled up my mind,
Now people just get uglier, and I got no sense of time...          --Dylan

В списке pgsql-general по дате отправления:

Предыдущее
От: Sean Chittenden
Дата:
Сообщение: Re: Username with a hyphen character (grant failing?)
Следующее
От: "Len Morgan"
Дата:
Сообщение: Re: COPY with default values?