[7.0.2] node type 17 not supported ...

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: [7.0.2] node type 17 not supported ...
Date: 2000-09-07 23:56:10
Message-ID: Pine.BSF.4.21.0009072038190.527-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


I have a database where, periodically, I get a query that is producing
pg_noname files that are >1gig in size ... according to syslog, for that
process:

Sep 7 18:36:39 pgsql postgres[47078]: DEBUG: ExecRestrPos: node type 17 not supported
Sep 7 18:36:39 pgsql postgres[47078]: DEBUG: ExecRestrPos: node type 17 not supported
Sep 7 18:36:40 pgsql postgres[47078]: DEBUG: ExecRestrPos: node type 17 not supported
Sep 7 18:36:56 pgsql postgres[47078]: DEBUG: ExecMarkPos: node type 17 not supported
%

the query that appears to be causing this, in this particular case, is:

SELECT distinct s.gid, s.created ,
geo_distance(pd.location, '(-97.4382912597586,37.7021126098755)')
FROM status s, personal_data pd, relationship_wanted rw,
personal_ethnicity pe, personal_religion pr, personal_bodytype pb,
personal_smoking ps
WHERE s.active
AND s.status != 0
AND (s.gid = pd.gid AND pd.gender = 0)
AND (s.gid = rw.gid AND rw.gender = 1)
AND geo_distance(pd.location, '(-97.4382912597586,37.7021126098755)') <= 500
ORDER BY geo_distance( pd.location, '(-97.4382912597586,37.7021126098755)'),
s.created desc;

now, its a reasonable oft run query, and from a debugging log that I keep,
it normally takes <1sec to run:

[0.38 secs]: SELECT distinct s.gid, s.created , geo_distance(pd.location, '(-97.4382912597586,37.7021126098755)')
FROM status s, personal_data pd, relationship_wanted rw
WHERE s.active AND s.status != 0
AND (s.gid = pd.gid AND pd.gender = 0)
AND (s.gid = rw.gid AND rw.gender = 1 )
AND geo_distance( pd.location, '(-97.4382912597586,37.7021126098755)' ) <= 500
ORDER BY geo_distance( pd.location, '(-97.4382912597586,37.7021126098755)'), s.created desc;

So, I'm curious as to why it periodically just hangs ... how do you debug
something like this? :( Its been happening ~once per day, so should be
reasonably debugging (unless, of course, now that I mention something it
never comes back *sigh*) ...

Thoughts?

Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-09-08 00:13:18 Re: [7.0.2] node type 17 not supported ...
Previous Message Philip Warner 2000-09-07 23:28:41 Re: TODO list updates