What is the fastest null WHERE

From: "Mindaugas Riauba" <mind(at)bi(dot)lt>
To: <pgsql-performance(at)postgresql(dot)org>
Subject: What is the fastest null WHERE
Date: 2003-10-01 12:11:30
Message-ID: 07c001c38815$29277b90$f20214ac@bite.lt
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


Hello,

While writing web application I found that it would
be very nice for me to have "null" WHERE clause. Like
WHERE 1=1. Then it is easy to concat additional
conditions just using $query . " AND col=false" syntax.

But which of the possible "null" clauses is the fastest
one?

Thanks,

Mindaugas

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Jeff 2003-10-01 12:23:10 Re: Tuning/performance issue...
Previous Message Andrew Sullivan 2003-10-01 10:33:38 Re: inferior SCSI performance