refint.sql

Started by Anand Ramanalmost 26 years ago2 messagesgeneral
Jump to latest
#1Anand Raman
araman@india-today.com

Hi guys
I have been trying to get refrential integrity working on postgre 6.5.3.. I understand after reading all the manuals and lot of posts on the mailing list that i have to run refint.sql .. However the tar ball i downloaded doesnt have this. The only refint files present in contrib/spi are
refint.c
refint.example
refint.source

Can any one of u please mail it to me..

I am using SuSE 6.2 and postgresql 6.5.2

Thanx for ur time..
Anand

#2Marc Tardif
intmktg@CAM.ORG
In reply to: Anand Raman (#1)
Re: refint.sql

Those are all the files you need. First, run gmake in contrib/spi and
you'll notice two more files are created:
refint.so
refint.sql

Also, take note that referential integrity on postgresql 6.5.3 works by
using triggers. So you must first CREATE FUNCTION which is detailed in
refint.sql which, in turn, was created from refint.source by the Makefile.
Then, you must CREATE TRIGGER for which there is an example in
refint.example.

On Fri, 28 Apr 2000, Anand Raman wrote:

Show quoted text

Hi guys
I have been trying to get refrential integrity working on postgre
6.5.3.. I understand after reading all the manuals and lot of posts on
the mailing list that i have to run refint.sql .. However the tar ball i
downloaded doesnt have this. The only refint files present in
contrib/spi are
refint.c
refint.example
refint.source

Can any one of u please mail it to me..

I am using SuSE 6.2 and postgresql 6.5.2

Thanx for ur time..
Anand