[HACKERS] How to configer the pg_hba record which the database name with "\n" ? - Mailing list pgsql-general

From huxm
Subject [HACKERS] How to configer the pg_hba record which the database name with "\n" ?
Date
Msg-id 51FA1BFC.6020504@cn.fujitsu.com
Whole thread Raw
List 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 by date:

Previous
From: David Johnston
Date:
Subject: Re: Implicitly casting integer to bigint (9.1)
Next
From: hamann.w@t-online.de
Date:
Subject: incremental dumps