Re: Rewriting select statements - Mailing list pgsql-general

From Scott Marlowe
Subject Re: Rewriting select statements
Date
Msg-id dcc563d10910301632g1447b7dco43f390c7b25c84e7@mail.gmail.com
Whole thread Raw
In response to Rewriting select statements  ("Phil Cairns" <phil@pagaros.com.au>)
List pgsql-general
On Fri, Oct 30, 2009 at 2:07 PM, Phil Cairns <phil@pagaros.com.au> wrote:
> I want to have the server do this:
>
> If the query has no where clause, use a where clause of "where 1=0".
>
> Is this possible?

Anyway to add a 'limit 1' to the end of the query somewhere on the app
side?  Like Tom said, this app sounds retartded.

pgsql-general by date:

Previous
From: Justin Pasher
Date:
Subject: Re: Problem with plpython
Next
From: db de
Date:
Subject: Re: pg_start_backup question