How to configer the pg_hba record which the database name with "\n" ? - Mailing list pgsql-hackers

From huxm
Subject How to configer the pg_hba record which the database name with "\n" ?
Date
Msg-id 51F9FE4B.7050700@cn.fujitsu.com
Whole thread Raw
Responses Re: How to configer the pg_hba record which the database name with "\n" ?  (David Johnston <polobo@yahoo.com>)
List 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 by date:

Previous
From: Simon Riggs
Date:
Subject: Re: ALTER TABLE lock strength reduction patch is unsafe
Next
From: Amit Langote
Date:
Subject: FailedAssertion on initdb with 9.4dev