Take a look at:
PGDIST/contrib/spi/refint.c
-DEJ
> -----Original Message-----
> From: coronach(at)datacruz(dot)com [SMTP:coronach(at)datacruz(dot)com]
> Sent: Wednesday, May 13, 1998 3:29 PM
> To: pgsql-sql(at)postgreSQL(dot)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.
>