pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedpostgres hab modification without restarting
5+ messages / 3 participants
[nested] [flat]
* postgres hab modification without restarting
@ 2003-08-25 13:15 Hornyak Laszlo <kocka@tigrasoft.hu>
0 siblings, 1 reply; 5+ messages in thread
From: Hornyak Laszlo @ 2003-08-25 13:15 UTC (permalink / raw)
To: pgsql-admin
Hi all!
Is it possible to make the postmaster re-read the pg_hba.conf when needed
without pg_ctl restarting the database? I think I could send a unix signal
to it, it would simly re-read the file and apply the information for new
incoming connection requests.
I was looking for this info in the documentation and lists but I did not
find anything.
Thanks,
Laszlo
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: postgres hab modification without restarting
@ 2003-08-25 13:35 Robert Treat <xzilla@users.sourceforge.net>
parent: Hornyak Laszlo <kocka@tigrasoft.hu>
0 siblings, 1 reply; 5+ messages in thread
From: Robert Treat @ 2003-08-25 13:35 UTC (permalink / raw)
To: Hornyak Laszlo <kocka@tigrasoft.hu>; +Cc: pgsql-admin
On Mon, 2003-08-25 at 09:15, Hornyak Laszlo wrote:
> Hi all!
>
> Is it possible to make the postmaster re-read the pg_hba.conf when needed
> without pg_ctl restarting the database? I think I could send a unix signal
> to it, it would simly re-read the file and apply the information for new
> incoming connection requests.
> I was looking for this info in the documentation and lists but I did not
> find anything.
>
pg_ctl reload sends the signal to reread the config files
http://www.postgresql.org/docs/7.3/interactive/app-pg-ctl.html
some parameters can only be set at server start
http://www.postgresql.org/docs/7.3/interactive/runtime-config.html
Robert Treat
--
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: postgres hab modification without restarting
@ 2003-08-27 03:40 Bruce Momjian <pgman@candle.pha.pa.us>
parent: Robert Treat <xzilla@users.sourceforge.net>
0 siblings, 1 reply; 5+ messages in thread
From: Bruce Momjian @ 2003-08-27 03:40 UTC (permalink / raw)
To: Robert Treat <xzilla@users.sourceforge.net>; +Cc: Hornyak Laszlo <kocka@tigrasoft.hu>; pgsql-admin
Robert Treat wrote:
> On Mon, 2003-08-25 at 09:15, Hornyak Laszlo wrote:
> > Hi all!
> >
> > Is it possible to make the postmaster re-read the pg_hba.conf when needed
> > without pg_ctl restarting the database? I think I could send a unix signal
> > to it, it would simly re-read the file and apply the information for new
> > incoming connection requests.
> > I was looking for this info in the documentation and lists but I did not
> > find anything.
> >
>
> pg_ctl reload sends the signal to reread the config files
> http://www.postgresql.org/docs/7.3/interactive/app-pg-ctl.html
>
> some parameters can only be set at server start
> http://www.postgresql.org/docs/7.3/interactive/runtime-config.html
I think the 'postgres' manual page explains the actual signals used.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: postgres hab modification without restarting
@ 2003-08-27 10:48 Hornyak Laszlo <kocka@tigrasoft.hu>
parent: Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 1 reply; 5+ messages in thread
From: Hornyak Laszlo @ 2003-08-27 10:48 UTC (permalink / raw)
To: Bruce Momjian <pgman@candle.pha.pa.us>; +Cc: pgsql-admin
Ok, I know this was an RTFM category question, I just didn`t find the
information, but I promiss I will learn more about the proper use of the
unix command 'grep', so next time I will find it easily :)
I was looking for a `crontab -e`-like editing. It lets edit the file,
checks the format, and installs if changed, doesn`t let user make
failure - for example to forget sending the signal, or writing bad
formated pg_hba.conf. Is there something like that?
Laci
On Tue, 26 Aug 2003, Bruce Momjian wrote:
> Robert Treat wrote:
> > On Mon, 2003-08-25 at 09:15, Hornyak Laszlo wrote:
> > > Hi all!
> > >
> > > Is it possible to make the postmaster re-read the pg_hba.conf when needed
> > > without pg_ctl restarting the database? I think I could send a unix signal
> > > to it, it would simly re-read the file and apply the information for new
> > > incoming connection requests.
> > > I was looking for this info in the documentation and lists but I did not
> > > find anything.
> > >
> >
> > pg_ctl reload sends the signal to reread the config files
> > http://www.postgresql.org/docs/7.3/interactive/app-pg-ctl.html
> >
> > some parameters can only be set at server start
> > http://www.postgresql.org/docs/7.3/interactive/runtime-config.html
>
> I think the 'postgres' manual page explains the actual signals used.
>
> --
> Bruce Momjian | http://candle.pha.pa.us
> pgman@candle.pha.pa.us | (610) 359-1001
> + If your life is a hard drive, | 13 Roberts Road
> + Christ can be your backup. | Newtown Square, Pennsylvania 19073
>
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: postgres hab modification without restarting
@ 2003-08-27 14:38 Bruce Momjian <pgman@candle.pha.pa.us>
parent: Hornyak Laszlo <kocka@tigrasoft.hu>
0 siblings, 0 replies; 5+ messages in thread
From: Bruce Momjian @ 2003-08-27 14:38 UTC (permalink / raw)
To: Hornyak Laszlo <kocka@tigrasoft.hu>; +Cc: pgsql-admin
Hornyak Laszlo wrote:
>
> Ok, I know this was an RTFM category question, I just didn`t find the
> information, but I promiss I will learn more about the proper use of the
> unix command 'grep', so next time I will find it easily :)
>
> I was looking for a `crontab -e`-like editing. It lets edit the file,
> checks the format, and installs if changed, doesn`t let user make
> failure - for example to forget sending the signal, or writing bad
> formated pg_hba.conf. Is there something like that?
No.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2003-08-27 14:38 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-08-25 13:15 postgres hab modification without restarting Hornyak Laszlo <kocka@tigrasoft.hu>
2003-08-25 13:35 ` Robert Treat <xzilla@users.sourceforge.net>
2003-08-27 03:40 ` Bruce Momjian <pgman@candle.pha.pa.us>
2003-08-27 10:48 ` Hornyak Laszlo <kocka@tigrasoft.hu>
2003-08-27 14:38 ` 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