Optimize referential integrity checks (todo item)

Vik Reykja <vikreykja@gmail.com>

From: Vik Reykja <vikreykja@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2012-02-12T02:06:24Z
Lists: pgsql-hackers

Attachments

I decided to take a crack at the todo item created from the following post:
http://archives.postgresql.org/pgsql-performance/2005-10/msg00458.php

The attached patch makes the desired changes in both code and function
naming.

It seemed quite easy to do but wasn't marked as easy on the todo, so I'm
wondering if I've missed something.  All regression tests pass.