From: johnf <jfabiani@yolo.com>
To: pgsql-sql@postgresql.org
Subject: setting the where clause
Date: Wed, 10 Jun 2009 05:19:34 -0700
Message-ID: <200906100519.34171.jfabiani@yolo.com> (raw)
Hi,
I'm am programming in python using the Dabo modules. www.dabodev.com if your
interested. Dabo is a framework that provides an easy way to build desktop
app's. To clear a data entry form. I have been setting the where clause
to "where 1=0". This of course retrieves 0 records and my form will display
nothing. It has been suggested that it might be better to set the where
clause to a primary key value that does not exist in the table "where PK
= -9999999".
I wonder what you guys think. How might it effect performance?
--
John Fabiani
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: jfabiani@yolo.com
Subject: Re: setting the where clause
In-Reply-To: <200906100519.34171.jfabiani@yolo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox