Re: refint.sql - Mailing list pgsql-general

From Marc Tardif
Subject Re: refint.sql
Date
Msg-id Pine.LNX.4.10.10004281233360.31860-100000@Gloria.CAM.ORG
Whole thread Raw
In response to refint.sql  ("Anand Raman" <araman@india-today.com>)
List pgsql-general
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:

> 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
>


pgsql-general by date:

Previous
From: Travis Bauer
Date:
Subject: problem with nested views
Next
From: "Marcel Sierra"
Date:
Subject: GTK or TCL/TK ... what do you prefer ? (beginner)