Re: 8.3.3 win32 crashing

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Klint Gore <kgore4(at)une(dot)edu(dot)au>
Cc: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: 8.3.3 win32 crashing
Date: 2008-08-19 14:38:57
Message-ID: 20247.1219156737@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Klint Gore <kgore4(at)une(dot)edu(dot)au> writes:
> Faulting application postgres.exe, version 8.3.3.8160, faulting module
> msvcr80.dll, version 8.0.50727.1433, fault address 0x0001e44a.

> I have a function that's doing a summary report counting data. It makes
> a couple of small temp tables then makes a big temp table. In the query
> that makes the big temp table, there's an immutable function that gets
> called thousands of times in the execution. In the immutable function,
> there was a raise notice for debugging . Without the raise, the query
> finishes in about 40sec. With it, the postgres.exe grinds down to about
> 2% cpu usage and eventually throws the message above. Then I reboot the
> machine - nothing responds to control.

Please try to narrow it down a little. It seems like this could be
caused by sending the messages to the postmaster log, or by sending
them to the client, or by the client not processing them nicely.
(You didn't say what client program you're using.) I'd suggest
adjusting client_min_messages and log_min_messages so that the notice
message goes to only one of the two places, and and then seeing what
happens.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-08-19 14:43:50 Re: How to execute 'set session role' from plpgsql function?
Previous Message Guillaume Lelarge 2008-08-19 14:34:17 Re: default postgresql.conf