Re: FK on update no action patch - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: FK on update no action patch
Date
Msg-id 200306111502.h5BF2Rf23354@candle.pha.pa.us
Whole thread Raw
In response to FK on update no action patch  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List 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@postgresql.org)

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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Adding Rendezvous support to postmaster
Next
From: Bruce Momjian
Date:
Subject: Re: Resend of encoding docs patch