Re: Bug in pg_hba.conf or pg_basebackup concerning replication connections

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Brendan Jurd <direvus(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bug in pg_hba.conf or pg_basebackup concerning replication connections
Date: 2011-04-09 22:15:32
Message-ID: 4DA0DA84.8040609@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> Welcome to the wonderful world of keywords in hba not being specific
> to fields. I encountered this problem myself back in Oct 2010 [1] and
> predicted that it would bite other users. You've been kind enough to
> validate that prediction. I submitted a WIP patch aimed at fixing it
> just over a week ago [2].

Well, I'd like to add this to the Open Issues. Given that I managed to
hit this issue pretty much immediately on a blind test, I'm not going to
be even close to the last user who experiences it.

Has this always been an issue if you have users and databases in
pg_hba.conf with the same name?

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2011-04-09 23:04:18 Re: Teaching regex operators about collations
Previous Message Tom Lane 2011-04-09 21:51:22 Re: Open issues for collations