Home > Archive > PostgreSQL Bugs > June 2005 > More graceful handling of invalid log_*_stats conf in 7.4









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author More graceful handling of invalid log_*_stats conf in 7.4
Martin Pitt

2005-06-02, 7:24 am

Tom Lane

2005-06-02, 11:24 am

Martin Pitt <martin@piware.de> writes:
> I found out that activating


> log_parser_stats = true
> log_planner_stats = true
> log_executor_stats = true
> log_statement_stats = true


> in postgresql.conf leads to this bug


This is another manifestation of the 7.4 problem with trying to test
superuser-ness at inappropriate times. We eventually gave up on the
entire concept of "USERLIMIT" variables. I don't think there is any
reasonably practical patch to fix it in 7.4, sorry ...

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere
" to majordomo@postgresql
.org)

Martin Pitt

2005-06-02, 8:25 pm

Hi!

Tom Lane [2005-06-02 11:46 - 0400]:
> Martin Pitt <martin@piware.de> writes:
>
>
>
> This is another manifestation of the 7.4 problem with trying to test
> superuser-ness at inappropriate times. We eventually gave up on the
> entire concept of "USERLIMIT" variables. I don't think there is any
> reasonably practical patch to fix it in 7.4, sorry ...


Ok. To save other people the headache, I will add such a test to
the Debian/Ubuntu distribution scripts, which has the same effect in
the end and is easy to do.

Thanks and have a nice day,

Martin

--
Martin Pitt http://www.piware.de
Ubuntu Developer http://www.ubuntulinux.org
Debian Developer http://www.debian.org

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com