[HACKERS] How to configer the pg_hba record which the database name with "\n" ?

Поиск
Список
Период
Сортировка
От huxm
Тема [HACKERS] How to configer the pg_hba record which the database name with "\n" ?
Дата
Msg-id 51FA1BFC.6020504@cn.fujitsu.com
обсуждение исходный текст
Список pgsql-general
Hi all,

I've come across an issue within pg_hba configuration which it seems
cannot not set the record of a database name where there is a
newline(\n) in the name.

I created the database whihin psql like this:
create database "ab
cd";

I have tried all the following records, but seems not to work:
local "ab\ncd "user auth-method
local "ab\\\ncd "user auth-method
local "ab
cd "user auth-method

Does PostgreSQL 9.2's client authentication support to match the
database name with "\n" ?

Cheers
--
--------------------------------------------------
Hu Xiaoming
MAIL : huxm@cn.fujitsu.com
--------------------------------------------------



--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers





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

Предыдущее
От: David Johnston
Дата:
Сообщение: Re: Implicitly casting integer to bigint (9.1)
Следующее
От: hamann.w@t-online.de
Дата:
Сообщение: incremental dumps