Re: ALTER ROLE role-name-with-hyphen

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ALTER ROLE role-name-with-hyphen
Дата
Msg-id 18650.1218229056@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ALTER ROLE role-name-with-hyphen  (Tom Copeland <tom@infoether.com>)
Ответы Re: ALTER ROLE role-name-with-hyphen  (Tom Copeland <tom@infoether.com>)
Список pgsql-general
Tom Copeland <tom@infoether.com> writes:
> This is probably a new bee question... but, how do I change the
> password of a role that has a hyphen in the name?

You need double quotes, not single quotes.  Read about SQL identifier
syntax in the fine manual ...

            regards, tom lane

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

Предыдущее
От: Tom Copeland
Дата:
Сообщение: ALTER ROLE role-name-with-hyphen
Следующее
От: Tom Copeland
Дата:
Сообщение: Re: ALTER ROLE role-name-with-hyphen