Re: Problem with pg_hba.conf file in Postgres 7.3

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, April Carvalho <acarvalh(at)brave(dot)cs(dot)uml(dot)edu>, pgsql-novice(at)postgresql(dot)org, Dan MacNeil <omacneil(at)brave(dot)cs(dot)uml(dot)edu>
Subject: Re: Problem with pg_hba.conf file in Postgres 7.3
Date: 2004-01-25 05:19:27
Message-ID: 200401250519.i0P5JR022900@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Oliver Elphick wrote:
> > Hmm. I would call that a bug in the Debian distribution. All those
> > files are kept in $PGDATA in a stock Postgres installation. The Debian
> > version patches things to keep pg_hba.conf in /etc, but evidently has
> > overlooked the possibility of @-included files. Oliver?
>
> In accordance with Debian policy, pg_hba.conf and the other
> configuration files are in /etc/postgresql; there are symlinks to
> $PGDATA. I do not change where the program looks for them (in other
> words, it still expects to find them in $PGDATA), so this does not seem
> a likely explanation. Are permissions OK? Is PGDATA set to
> /var/lib/postgres/data ? Or does the user's description above mean that
> the included files were in /etc/postgresql (where the program would not
> look for them) and have now been moved to $PGDATA?
>
> Since the PostgreSQL version is 7.3.4, the question remains whether the
> file inclusion mechanism is even supported. Can someone answer that
> before I go looking for bugs in the Debian packaging?

The features was added by me in 7.3:

* "pg_hba.conf" now has a column for the user name and additional
features. Existing files need to be adjusted.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Russell Shaw 2004-01-25 05:23:29 Re: Multiway associations
Previous Message Michael Glaesemann 2004-01-25 05:05:28 Re: Multiway associations