| From: | Gregory Stark <stark(at)enterprisedb(dot)com> |
|---|---|
| To: | "Jay" <jay(dot)doo(at)gmail(dot)com> |
| Cc: | <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: WHERE (columnX IN (x,y,z)) ORDER BY columnY conflict |
| Date: | 2007-12-12 17:19:43 |
| Message-ID: | 874pen4yq8.fsf@oxford.xeocode.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
"Jay" <jay(dot)doo(at)gmail(dot)com> writes:
> I've been trying to get this query to work to no avail. Both parts
> work in isolation. I am able to replace the IN clause with an ILIKE
> statement and the ORDER BY works fine. But in combination with the IN
> statement, the ORDER BY statement does not actually order the results,
> though no errors are thrown and the IN section returns results as
> expected. Am I missing something simple here? I haven't been able to
> turn up any results on google...
Post an example of what you're talking about.
Also, what version of the server are you using?
Have you updated to the latest bug-fix release for that version?
--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
Ask me about EnterpriseDB's On-Demand Production Tuning
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Joshua D. Drake | 2007-12-12 17:19:55 | Re: Slow PITR restore |
| Previous Message | Joshua D. Drake | 2007-12-12 17:17:55 | Re: General Q's |