From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Joseph Shraibman <jks(at)selectacast(dot)net> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: postgres 7.0.3 core dumps |
Date: | 2001-01-18 01:14:26 |
Message-ID: | 22307.979780466@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Joseph Shraibman <jks(at)selectacast(dot)net> writes:
>> If it is a select from cursor that's dying, we'll really need the query
>> log so that we can see what the cursor definition was...
>>
> From my postgres log (this wasn't from a crash, I'm just showing you
> what the cursor was like):
> ProcessUtility: BEGIN;
> query: DECLARE cname CURSOR FOR SELECT u.userkey, u.profile, u.config,
> u.rules FROM usertable u, directory d WHERE u.podkey = 2 AND u.status =
> 2 AND u.subper AND NOT u.banned AND u.userkey = d.userkey AND d.status
> IN(2, 5);
> <...>
> query: FETCH 100 FROM cname;
> ProcessUtility: FETCH 100 FROM cname;
Okay. What do you get from EXPLAIN for that SELECT? Actually I'd like
to see EXPLAIN VERBOSE ...
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-01-18 01:16:55 | Re: how to obtain latest beta release? |
Previous Message | Tom Lane | 2001-01-18 01:11:50 | Re: plperl and sqrt. |