select issue with order v8.1

From: Terry <td3201(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: select issue with order v8.1
Date: 2010-02-25 03:50:19
Message-ID: 8ee061011002241950ibf1316fw681a38b5ff404e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I have an application that is doing something stupid in that it is
tacking on its own order clause at the end of the statement I am
providing.

For example, I am putting this statement in:
select ev_id,type,ev_time,category,error,ev_text,userid,ex_long,client_ex_long,ex_text
from clients_event_log limit 100

It is tacking on ORDER BY ev_id. The problem is that isn't per the
syntax. Can anyone think of anything clever to get around this stupid
application doing what it is doing? For example, anything I can do
beside limit?

I appreciate the thoughts!

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-02-25 04:07:28 Re: select issue with order v8.1
Previous Message Greg Smith 2010-02-25 02:54:42 Re: archive_timeout in postgresql.conf