Re: ALTER syntax question and usernames with hyphens

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: ALTER syntax question and usernames with hyphens
Дата
Msg-id 20071126200835.GB22964@alvh.no-ip.org
обсуждение исходный текст
Ответ на ALTER syntax question and usernames with hyphens  (Madison Kelly <linux@alteeve.com>)
Список pgsql-general
Madison Kelly wrote:
> Hi all,
>
>   What is the proper syntax/escape character when using 'ALTER ... OWNER TO
> user-name'? I've tried single quotes, backslashes, backticks and various
> others without luck. Is it at all possible?

Double quotes (same as for any identifier)

--
Alvaro Herrera                 http://www.amazon.com/gp/registry/DXLWNGRJD34J
"Find a bug in a program, and fix it, and the program will work today.
Show the program how to find and fix a bug, and the program
will work forever" (Oliver Silfridge)

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

Предыдущее
От: Madison Kelly
Дата:
Сообщение: ALTER syntax question and usernames with hyphens
Следующее
От: Ron Mayer
Дата:
Сообщение: Re: Primary Key