Re: BUG #2690: GRANT does not allow periods in database or schema names

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: BUG #2690: GRANT does not allow periods in database or schema names
Дата
Msg-id 200610132233.29481.peter_e@gmx.net
обсуждение исходный текст
Ответ на BUG #2690: GRANT does not allow periods in database or schema names  ("Nick Johnson" <pgsql@spatula.net>)
Список pgsql-bugs
Nick Johnson wrote:
> Though you can create a database with a period in the name (e.g.,
> "example.com"), you cannot issue a GRANT on that database name from
> the command line.
>
> pgsql=# GRANT ALL ON DATABASE example.com TO someuser;
> ERROR:  syntax error at or near "." at character 30

You are making the faulty assumption that example.com and "example.com"
are the same thing.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #2690: GRANT does not allow periods in database or schema names
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #2690: GRANT does not allow periods in database or schema names