Re: Allow continuations in "pg_hba.conf" files

From: David Zhang <david(dot)zhang(at)highgo(dot)ca>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Cc: Fabien Coelho <postgresql(dot)org(at)coelho(dot)net>
Subject: Re: Allow continuations in "pg_hba.conf" files
Date: 2020-04-02 00:20:12
Message-ID: 158578681240.24526.8013390670578487331.pgcf@coridan.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Fabien,
Should we consider the case "\ ", i.e. one or more spaces after the backslash?
For example, if I replace a user map
"mymap /^(.*)@mydomain\.com$ \1" with
"mymap /^(.*)@mydomain\.com$ \ "
"\1"
by adding one extra space after the backslash, then I got the pg_role="\\"
but I think what we expect is pg_role="\\1"

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2020-04-02 00:26:04 Re: snapshot too old issues, first around wraparound and then more.
Previous Message Andres Freund 2020-04-02 00:17:21 Re: snapshot too old issues, first around wraparound and then more.