' and \ characters in passwords

Поиск
Список
Период
Сортировка
От Andrus Moor
Тема ' and \ characters in passwords
Дата
Msg-id dvhul6$3qe$1@news.hub.org
обсуждение исходный текст
Ответы Re: ' and \ characters in passwords  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
I found that \ characters needs not to be quoted in password strings

create role test1 password '\'

is OK.
I havent found any mention of this behaviour in docs.
Where this is documented ?


I created  role

create role test2 password ''''

Trying to login using password ' causes error from my ODBC client:

Connectivity error: FATAL:  password authentication failed for user "test2"

ODBC and postgres logs do not show anything about this issue. How can I find
which is wrong ?

Is

create role test2 password ''''

legal way to set password to  '  character ?

Andrus.



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

Предыдущее
От: "Hrishikesh Deshmukh"
Дата:
Сообщение: Re: OpenSuse10.0 and postgresql
Следующее
От: Chris Travers
Дата:
Сообщение: Re: Clustered PostgreSQL