Re: Using LIMIT 1 in plpgsql PERFORM statements
От
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)
Список
Дерево обсуждения
Using LIMIT 1 in plpgsql PERFORM statements "Karl O. Pinc" <kop@meme.com>
Re: Using LIMIT 1 in plpgsql PERFORM statements Josh Berkus <josh@agliodbs.com>
Re: Using LIMIT 1 in plpgsql PERFORM statements "Karl O. Pinc" <kop@meme.com>
Re: Using LIMIT 1 in plpgsql PERFORM statements "Karl O. Pinc" <kop@meme.com>
Re: Using LIMIT 1 in plpgsql PERFORM statements Josh Berkus <josh@agliodbs.com>
Re: Using LIMIT 1 in plpgsql PERFORM statements Neil Conway <neilc@samurai.com>
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
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein
В списке pgsql-performance по дате отправления