pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedturning on debug without restarting postgres
4+ messages / 3 participants
[nested] [flat]
* turning on debug without restarting postgres
@ 2001-09-27 08:42 Rainer Mager <rmager@vgkk.com>
2001-09-27 14:17 ` Re: turning on debug without restarting postgres Tom Lane <tgl@sss.pgh.pa.us>
2001-09-27 22:11 ` Re: turning on debug without restarting postgres Herbert Rabago Ambos <herbert@hindang.msuiit.edu.ph>
0 siblings, 2 replies; 4+ messages in thread
From: Rainer Mager @ 2001-09-27 08:42 UTC (permalink / raw)
To: pgsql-admin
Hi all,
Is there any way to alter postgres' debug levels without restarting it?
Specifically I sometimes need to turn on query logging but I don't want to
restart the backend.
Thanks,
--Rainer
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: turning on debug without restarting postgres
2001-09-27 08:42 turning on debug without restarting postgres Rainer Mager <rmager@vgkk.com>
@ 2001-09-27 14:17 ` Tom Lane <tgl@sss.pgh.pa.us>
1 sibling, 0 replies; 4+ messages in thread
From: Tom Lane @ 2001-09-27 14:17 UTC (permalink / raw)
To: Rainer Mager <rmager@vgkk.com>; +Cc: pgsql-admin
"Rainer Mager" <rmager@vgkk.com> writes:
> Is there any way to alter postgres' debug levels without restarting it?
postgresql.conf to affect all backends, SET command to affect only one
backend.
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: turning on debug without restarting postgres
2001-09-27 08:42 turning on debug without restarting postgres Rainer Mager <rmager@vgkk.com>
@ 2001-09-27 22:11 ` Herbert Rabago Ambos <herbert@hindang.msuiit.edu.ph>
2001-09-27 11:09 ` Re: turning on debug without restarting postgres Rainer Mager <rmager@vgkk.com>
1 sibling, 1 reply; 4+ messages in thread
From: Herbert Rabago Ambos @ 2001-09-27 22:11 UTC (permalink / raw)
To: Rainer Mager <rmager@vgkk.com>; +Cc: pgsql-admin
i'm using
pg_ctl -l /var/log/pgsql/logfile start
to start my postgres. So whenever i look at the log files i just
tail -f /var/log/pgsql/logfile
that seems to do the trick.
hope this helps,
herbert
On Thu, 27 Sep 2001, Rainer Mager wrote:
> Hi all,
>
> Is there any way to alter postgres' debug levels without restarting it?
> Specifically I sometimes need to turn on query logging but I don't want to
> restart the backend.
>
>
> Thanks,
>
> --Rainer
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: turning on debug without restarting postgres
2001-09-27 08:42 turning on debug without restarting postgres Rainer Mager <rmager@vgkk.com>
2001-09-27 22:11 ` Re: turning on debug without restarting postgres Herbert Rabago Ambos <herbert@hindang.msuiit.edu.ph>
@ 2001-09-27 11:09 ` Rainer Mager <rmager@vgkk.com>
0 siblings, 0 replies; 4+ messages in thread
From: Rainer Mager @ 2001-09-27 11:09 UTC (permalink / raw)
To: pgsql-admin
Hi,
Thanks for the answer. I looked at this and I think it might not work for
us. The thing is that we have a connection pool that maintains connections
to the db so all connections being closed at the same time will never
happen. Does this pg_ctl thing do VERY clever restarting like spawning a new
back end, as each connection closes removing it from the old back end, and
directing all new connections to the new backend until all old connections
are closed?
Thanks,
--Rainer
> -----Original Message-----
> From: pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Herbert Rabago Ambos
> Sent: Friday, September 28, 2001 7:12 AM
> To: Rainer Mager
> Cc: pgsql-admin@postgresql.org
> Subject: Re: [ADMIN] turning on debug without restarting postgres
>
>
>
> i'm using
>
> pg_ctl -l /var/log/pgsql/logfile start
>
> to start my postgres. So whenever i look at the log files i just
>
> tail -f /var/log/pgsql/logfile
>
> that seems to do the trick.
>
>
> hope this helps,
>
>
> herbert
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2001-09-27 22:11 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-09-27 08:42 turning on debug without restarting postgres Rainer Mager <rmager@vgkk.com>
2001-09-27 14:17 ` Tom Lane <tgl@sss.pgh.pa.us>
2001-09-27 22:11 ` Herbert Rabago Ambos <herbert@hindang.msuiit.edu.ph>
2001-09-27 11:09 ` Rainer Mager <rmager@vgkk.com>
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