From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Matthew Gabeler-Lee <mgabelerlee(at)zycos(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Query breaking with unknown expression type (lost subquery from v iew?) |
Date: | 2002-12-04 21:36:43 |
Message-ID: | 18592.1039037803@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Matthew Gabeler-Lee <mgabelerlee(at)zycos(dot)com> writes:
> Query, used to work in 7.2.3:
> SELECT * from VResults NATURAL LEFT JOIN qrp_events
> WHERE qrp_score > 45 AND qry_charge < 3 AND vst_valstate IS NULL
> AND (
> (qpe_name = 'autoval.pl' AND qpe_version < 3)
> OR qpe_name IS NULL
> )
> ORDER BY sdt_id ASC, qry_num ASC, qrp_pnum ASC
> If that means subquery, there is a subquery in
> the VResults view, but for some reason that subquery isn't showing up in the
> explain output!
How do you expect us to debug this when you haven't provided the view
definition?
I'm willing to dig into it if I have a test case to look at, but I don't
have time to try to intuit a test case from an incomplete bug report.
Give me a script to reproduce the failure, please.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-12-04 21:43:10 | Re: where did debug_print_query go in 7.3??? |
Previous Message | Tom Lane | 2002-12-04 21:30:18 | Re: Functions just dont want to work! [hard] |