From: Iain <iain@mst.co.jp>
To: sad <sad@bankir.ru>
Cc: pgsql-sql@postgresql.org
Subject: Re: feature request ?
Date: Thu, 24 Jun 2004 19:32:25 +0900
Message-ID: <002201c459d6$8a8ff4a0$7201a8c0@mst1x5r347kymb> (raw)
References: <200406231355.50079.sad@bankir.ru>
<200406231012.36791.josh@agliodbs.com>
<DDFC5701-C59F-11D8-B2C1-000A95C88220@myrealbox.com>
<200406240856.50292.sad@bankir.ru>
> > IF foo IS NULL
> > THEN ...
> > ELSIF foo
> > THEN ...
> > ELSE ...
> > END IF;
>
> here the foo expression woll be executed twice
if you can use an immutable or stable function then the overhead would be
minimal as the system knows that it doesn't need to re-evaluate it.
regards
Iain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: iain@mst.co.jp, sad@bankir.ru
Subject: Re: feature request ?
In-Reply-To: <002201c459d6$8a8ff4a0$7201a8c0@mst1x5r347kymb>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox