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

Поиск
Список
Период
Сортировка
От huxm
Тема How to configer the pg_hba record which the database name with "\n" ?
Дата
Msg-id 51F9FE4B.7050700@cn.fujitsu.com
обсуждение исходный текст
Ответы Re: How to configer the pg_hba record which the database name with "\n" ?  (David Johnston <polobo@yahoo.com>)
Список pgsql-hackers
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
--------------------------------------------------




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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: ALTER TABLE lock strength reduction patch is unsafe
Следующее
От: Amit Langote
Дата:
Сообщение: FailedAssertion on initdb with 9.4dev