Re: [GENERAL] INSTEAD rule bug?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dmitry Tkach <dmitry(at)openratings(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] INSTEAD rule bug?
Date: 2003-07-15 17:30:54
Message-ID: 29000.1058290254@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

Dmitry Tkach <dmitry(at)openratings(dot)com> writes:
> The problem is that in the 'real life' situation the condition is a lot
> more complicated than this simple is null test... I hate having to
> duplicate it, and I hate even more having to evaluate it twice on every
> insert :-(

Why evaluate it twice? The DO INSTEAD NOTHING rule should be
unconditional.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Dmitry Tkach 2003-07-15 17:52:51 Re: [GENERAL] INSTEAD rule bug?
Previous Message Dmitry Tkach 2003-07-15 17:00:47 Re: [GENERAL] INSTEAD rule bug?

Browse pgsql-general by date

  From Date Subject
Next Message Jay O'Connor 2003-07-15 17:37:28 Re: perfromance impact of vacuum
Previous Message Dmitry Tkach 2003-07-15 17:00:47 Re: [GENERAL] INSTEAD rule bug?