Thread

  1. Foreign Keys

    Anand Surelia <anand@bytekinc.com> — 1998-09-10T16:03:34Z

    Hi,
    What do I have to do to implement Foreign Keys in Postgres 6.3.2 ? Does
    anyone have the set of triggers to implement it? When is new version
    which implements it is being released?
    Thanks,
    Anand
    
    
    
  2. Re: [GENERAL] Foreign Keys

    Jose Soares <jose@sferacarta.com> — 1998-09-11T07:16:28Z

    Anand Surelia wrote:
    > 
    > Hi,
    > What do I have to do to implement Foreign Keys in Postgres 6.3.2 ? > > Does anyone have the set of triggers to implement it?
     
    Take a look at Postgresql-6.3.2/contrib/spi/refint* there's an example 
    how to implement referential integrity using triggers.
    
    > When is new version which implements it is being released?
    
    I don't know but I hope soon.
    
    Jose'
    
    
  3. Re: [GENERAL] Foreign Keys

    Aleksey Dashevsky <postgres@luckynet.co.il> — 1998-09-11T13:37:10Z

    hi!
    You should check in contrib/spi subdirectory of Postgres source.
    There are some useful triggers here, and some of them dedicated to
    referential integrity.  
    
    Al.
    On Thu, 10 Sep 1998, Anand Surelia wrote:
    
    > Hi,
    > What do I have to do to implement Foreign Keys in Postgres 6.3.2 ? Does
    > anyone have the set of triggers to implement it? When is new version
    > which implements it is being released?
    > Thanks,
    > Anand
    > 
    >