Re: costly foreign key ri checks (4) - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: costly foreign key ri checks (4)
Date
Msg-id 200403132316.i2DNGdG20468@candle.pha.pa.us
Whole thread Raw
In response to costly foreign key ri checks (4)  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-patches
Applied by Tom.  Thanks.

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

Fabien COELHO wrote:
>
> Dear patchers,
>
> Following the discussion about previous versions of this patch, please
> find attached a new patch candidate for warning about costly foreign key
> referential integrity checks.
>
> 1/ it generates a WARNING
>
> 2/ it DETAILs the attributes and types
>
> 3/ some regression tests are also appended to foreign_key.sql
>
> It validates for me against current "head".
>
> Have a nice day,
>
> --
> Fabien Coelho - coelho@cri.ensmp.fr

Content-Description:

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
>       joining column's datatypes do not match

--
  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: Tom Lane
Date:
Subject: Re: costly foreign key ri checks (4)
Next
From: Bruce Momjian
Date:
Subject: Re: costly foreign key ri checks (4)