Re: Foreign keys for non-default datatypes

Alvaro Herrera <alvherre@commandprompt.com>

From: Alvaro Herrera <alvherre@commandprompt.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgreSQL.org, CG <cgg007@yahoo.com>, Stephan Szabo <sszabo@megazone.bigpanda.com>
Date: 2006-02-23T20:51:18Z
Lists: pgsql-hackers
Tom Lane wrote:

> Any thoughts about details?  My feeling is that we should tie RI
> semantics to btree opclasses, same as we have done for ORDER BY
> and some other SQL constructs, but I don't have a concrete proposal
> right offhand.  The btree idea may not cover cross-type FKs anyway.

This means getting rid of SPI usage, right?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support