Re: Fwd: Keywords in pg_hba.conf should be field-specific - Mailing list pgsql-hackers

From Brendan Jurd
Subject Re: Fwd: Keywords in pg_hba.conf should be field-specific
Date
Msg-id BANLkTin4Lz1kx8=azfdnRp=3T1zn-==EVQ@mail.gmail.com
Whole thread Raw
In response to Re: Fwd: Keywords in pg_hba.conf should be field-specific  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Fwd: Keywords in pg_hba.conf should be field-specific
List pgsql-hackers
On 21 June 2011 13:51, Pavel Stehule <pavel.stehule@gmail.com> wrote:
> I have one question. I can't find any rules for work with tokens, etc,
> where is quotes allowed and disallowed?
>
> I don't see any other issues.

I'm not sure I understand your question, but quotes are allowed
anywhere and they always act to remove any special meaning the token
might otherwise have had.  It's much like quoting a column name in
SQL.

I didn't change any of the hba parsing rules, so escaping and whatnot
should all work the way it did before.  The only difference should be
that after parsing, keywords will only be evaluated for fields where
they matter.

Cheers,
BJ


pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: Patch - Debug builds without optimization
Next
From: Pavel Stehule
Date:
Subject: Re: Fwd: Keywords in pg_hba.conf should be field-specific