Re: FK on update no action patch

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: FK on update no action patch
Date: 2003-06-11 15:02:27
Message-ID: 200306111502.h5BF2Rf23354@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Patch applied. Thanks.

---------------------------------------------------------------------------

Stephan Szabo wrote:
>
> During looking stuff up for a discussion on -general, I realized that I'd
> placed the check for newly created matching pk rows for on update no
> action earlier than it needed to be so that it'd check even when the key
> values hadn't changed. This patch moves it to after checking for NULLs in
> the old row and comparing the values since the select's probably more
> expensive.
>
> Regression tests appear to pass as do simple tests.

Content-Description:

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-06-11 15:03:50 Re: Resend of encoding docs patch
Previous Message Bruce Momjian 2003-06-11 14:43:11 Re: Adding Rendezvous support to postmaster