pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedpg_hba.conf reload
4+ messages / 2 participants
[nested] [flat]
* pg_hba.conf reload
@ 2002-01-28 23:10 Thomas F. O'Connell <tfo@monsterlabs.com>
0 siblings, 1 reply; 4+ messages in thread
From: Thomas F. O'Connell @ 2002-01-28 23:10 UTC (permalink / raw)
To: pgsql-admin
is there any way in postgres (7.1.3) to get postgres to source the
pg_hba.conf file without restarting the database completely?
will any new backend use a modified pg_hba.conf if it is modified while
postgres is running?
-tfo
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pg_hba.conf reload
@ 2002-01-29 00:10 Bruce Momjian <pgman@candle.pha.pa.us>
parent: Thomas F. O'Connell <tfo@monsterlabs.com>
0 siblings, 1 reply; 4+ messages in thread
From: Bruce Momjian @ 2002-01-29 00:10 UTC (permalink / raw)
To: Thomas F. O'Connell <tfo@monsterlabs.com>; +Cc: pgsql-admin
Thomas F. O'Connell wrote:
> is there any way in postgres (7.1.3) to get postgres to source the
> pg_hba.conf file without restarting the database completely?
>
> will any new backend use a modified pg_hba.conf if it is modified while
> postgres is running?
>
In 7.1.X and earlier, pg_hba.conf is reread on every connection request.
7.2.X will requires a sighup to the postmaster to reload pg_hba.conf.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pg_hba.conf reload
@ 2002-01-29 00:31 Thomas F. O'Connell <tfo@monsterlabs.com>
parent: Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 1 reply; 4+ messages in thread
From: Thomas F. O'Connell @ 2002-01-29 00:31 UTC (permalink / raw)
To: pgsql-admin
> In 7.1.X and earlier, pg_hba.conf is reread on every connection request.
> 7.2.X will requires a sighup to the postmaster to reload pg_hba.conf.
why the change?
-tfo
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pg_hba.conf reload
@ 2002-01-29 01:17 Bruce Momjian <pgman@candle.pha.pa.us>
parent: Thomas F. O'Connell <tfo@monsterlabs.com>
0 siblings, 0 replies; 4+ messages in thread
From: Bruce Momjian @ 2002-01-29 01:17 UTC (permalink / raw)
To: Thomas F. O'Connell <tfo@monsterlabs.com>; +Cc: pgsql-admin
Thomas F. O'Connell wrote:
> > In 7.1.X and earlier, pg_hba.conf is reread on every connection request.
>
> > 7.2.X will requires a sighup to the postmaster to reload pg_hba.conf.
>
>
> why the change?
Performance. Faster to cache contents.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2002-01-29 01:17 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-01-28 23:10 pg_hba.conf reload Thomas F. O'Connell <tfo@monsterlabs.com>
2002-01-29 00:10 ` Bruce Momjian <pgman@candle.pha.pa.us>
2002-01-29 00:31 ` Thomas F. O'Connell <tfo@monsterlabs.com>
2002-01-29 01:17 ` Bruce Momjian <pgman@candle.pha.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox