| От | Karl O. Pinc |
|---|---|
| Тема | Re: Using LIMIT 1 in plpgsql PERFORM statements |
| Дата | |
| Msg-id | 1130114418l.8670l.2l@mofo обсуждение исходный текст |
| Ответ на | Re: Using LIMIT 1 in plpgsql PERFORM statements (Josh Berkus <josh@agliodbs.com>) |
| Ответы |
Re: Using LIMIT 1 in plpgsql PERFORM statements
|
| Список | pgsql-performance |
On 10/23/2005 04:02:35 PM, Josh Berkus wrote:
> I'm wondering in what context it makes sense to call PERFORM on a
> constant.
I like to write PERFORMs that return a constant when
selecting from a table. It emphasizes that the
selection is being done for its side effects.
(Programs should be written for people to read
and only incidentally for computers to execute.
Programs that people can't read quickly
become useless whereas programs that can't run
quickly can be fixed. Computers are easy.
People are difficult.)
Karl <kop@meme.com>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера