What is the fastest null WHERE

Поиск
Список
Период
Сортировка
От Mindaugas Riauba
Тема What is the fastest null WHERE
Дата
Msg-id 07c001c38815$29277b90$f20214ac@bite.lt
обсуждение исходный текст
Ответы 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>)
Список 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 по дате отправления:

Предыдущее
От: Andrew Sullivan
Дата:
Сообщение: Re: inferior SCSI performance
Следующее
От: Jeff
Дата:
Сообщение: Re: Tuning/performance issue...