What is the fastest null WHERE - Mailing list pgsql-performance

From Mindaugas Riauba
Subject What is the fastest null WHERE
Date
Msg-id 07c001c38815$29277b90$f20214ac@bite.lt
Whole thread Raw
Responses Re: What is the fastest null WHERE  (Shridhar Daithankar <shridhar_daithankar@persistent.co.in>)
Re: What is the fastest null WHERE  (Richard Huxton <dev@archonet.com>)
Re: What is the fastest null WHERE  (Rod Taylor <rbt@rbt.ca>)
List 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


pgsql-performance by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: inferior SCSI performance
Next
From: Jeff
Date:
Subject: Re: Tuning/performance issue...