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