From: | "Ed L(dot)" <pgsql(at)bluepolka(dot)net> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | pg 8.1.2 ERROR: direct correlated subquery unsupported as initplan |
Date: | 2006-01-31 01:09:29 |
Message-ID: | 200601301809.30100.pgsql@bluepolka.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Just encountered this error on an 8.1.2 cluster, wondering if
anyone can provide troubleshooting hints:
LOG: statement: PREPARE dbdpg_5 AS SELECT * FROM foo WHERE
visitnum = $1 and (scheduledtime >= $2 OR scheduledtime IS
NULL) AND (scheduledtime < $3 OR scheduledtime IS NULL) UNION
SELECT * FROM bar WHERE visitnum = $4 ORDER BY scheduledtime
LOG: statement: <BIND>
LOG: statement: EXECUTE <unnamed> [PREPARE: SELECT * FROM foo
WHERE visitnum = $1 and (scheduledtime >= $2 OR scheduledtime
IS NULL) AND (scheduledtime < $3 OR scheduledtime IS NULL)
UNION SELECT * FROM bar WHERE visitnum = $4 ORDER BY
scheduledtime]
ERROR: direct correlated subquery unsupported as initplan
A run of 'analyze' seems to have made the error go away.
Here's our version:
PostgreSQL 8.1.2 on ia64-unknown-linux-gnu, compiled by GCC gcc
(GCC) 3.4.3 20050227 (Red Hat 3.4.3-22.1)
Thanks,
Ed
From | Date | Subject | |
---|---|---|---|
Next Message | Devrim GUNDUZ | 2006-01-31 01:13:10 | Re: New project launched : PostgreSQL GUI Installer for |
Previous Message | Doug McNaught | 2006-01-31 01:03:15 | Re: New project launched : PostgreSQL GUI Installer for |