Take a look at:
PGDIST/contrib/spi/refint.c
-DEJ
> -----Original Message-----
> From: coronach@datacruz.com [SMTP:coronach@datacruz.com]
> Sent: Wednesday, May 13, 1998 3:29 PM
> To: pgsql-sql@postgreSQL.org
> Subject: Referential Integrity
>
> I haven't been able to find documentation on how to implement
> referential
> integrity between tables with postgres via sql. Could someone please
> post
> an example. Thanks.
>
> Michael.
>