Skip site navigation (1) Skip section navigation (2)

Re: Fwd: Keywords in pg_hba.conf should be field-specific

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Brendan Jurd <direvus(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fwd: Keywords in pg_hba.conf should be field-specific
Date: 2011-06-28 20:23:51
Message-ID: 1309292539-sup-8064@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-hackers
Excerpts from Pavel Stehule's message of mar jun 28 16:19:02 -0400 2011:

> there should be a format (syntax) error. If somebody breaks a pg_ident
> and will do a reload, then all ident mapping is lost.

No, the file is not actually parsed until the auth verification runs.
The incorrect tokens are happily stored in memory by the tokeniser.  In
my view that's the wrong way to do it, but changing it seems to be a
lot of work (I didn't try).

-- 
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

pgsql-hackers by date

Next:From: Pavel StehuleDate: 2011-06-28 20:28:21
Subject: Re: Fwd: Keywords in pg_hba.conf should be field-specific
Previous:From: Florian PflugDate: 2011-06-28 20:20:50
Subject: Re: Range Types, constructors, and the type system

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group