From: | John Gibson <gib(at)edgate(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Turning on/off debugging |
Date: | 2003-12-08 17:43:21 |
Message-ID: | 3FD4B839.1070103@edgate.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Tom Lane wrote:
>John Gibson <gib(at)edgate(dot)com> writes:
>
>
>>Unfortunately after I was done, I wanted to turn it off again. I
>>commented out the lines and ran the "reload" again. This did not have
>>any effect.
>>
>>
>
>No, it wouldn't; a comment is a comment. You'd need to change the
>entries to explicitly select the original setting.
>
> regards, tom lane
>
>
>
Thank you for responding.
Unfortunately you cut out the part where I *did* explicitly try
selecting the "false" setting.
*** from the original posting ***
So, I thought it might just be a switch and set them to false and
reloaded. This did not change it back either. I ended up shutting down
the engine and restarting it. Of course, that worked.
***
I assume from what you stated that setting the parameters from true to
false, then reloading "should" have turned off the debugging.
That is not the behavior I saw. :(
Any help would be appreciated.
...john
***** full original post below ****
Hi, all.
Re: version 7.2.2
I modified the postgresql.conf file as below and got "really neat"
debugging turned on. :)
pg_ctl reload -D <dir>
Unfortunately after I was done, I wanted to turn it off again. I
commented out the lines and ran the "reload" again. This did not have
any effect. So, I thought it might just be a switch and set them to
false and reloaded. This did not change it back either. I ended up
shutting down the engine and restarting it. Of course, that worked.
Any ideas on how to do it while the engine is running?
...john
*** DETAIL ***
log_timestamp = true
log_pid = true
debug_print_query = true
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2003-12-08 18:03:33 | Re: remove |
Previous Message | Keith C. Perry | 2003-12-08 17:24:31 | Re: pgsql 7.4 on minimal environment |