pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Foreign Keys in PostgreSQL
4+ messages / 2 participants
[nested] [flat]

* Foreign Keys in PostgreSQL
@ 1999-07-15 20:21 Simeó <simeo@nil.fut.es>
  1999-07-16 01:47 ` Re: [GENERAL] Foreign Keys in PostgreSQL Howie <caffeine@toodarkpark.org>
  0 siblings, 1 reply; 4+ messages in thread

From: Simeó @ 1999-07-15 20:21 UTC (permalink / raw)
  To: pgsql-general@postgreSQL.org

How can I implement foreign Keys with postgres? thanks.

 

          ----------------
               Simeó Reig 
            simeo@tinet.org 
          Barcelona   (SPAIN)
          -----------------   



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [GENERAL] Foreign Keys in PostgreSQL
  1999-07-15 20:21 Foreign Keys in PostgreSQL Simeó <simeo@nil.fut.es>
@ 1999-07-16 01:47 ` Howie <caffeine@toodarkpark.org>
  1999-07-17 18:07   ` Re: [GENERAL] Foreign Keys in PostgreSQL Simeó <simeo@nil.fut.es>
  0 siblings, 1 reply; 4+ messages in thread

From: Howie @ 1999-07-16 01:47 UTC (permalink / raw)
  To: Simeó <simeo@nil.fut.es>; +Cc: pgsql-general@postgreSQL.org

On Thu, 15 Jul 1999, [iso-8859-1] Simeó wrote:

> How can I implement foreign Keys with postgres? thanks.

pgsql/contrib/spi has refint.c.  you'd want to compile that and execute
refint.sql.  it also comes with documentation.

refit is, for now, the way postgres handles foreign keys.  two functions
are involved, check_foreign_key() and check_primary_key().

---
Howie <caffeine@toodarkpark.org>   URL: http://www.toodarkpark.org    
"The distance between insanity and genius is measured only by success."




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [GENERAL] Foreign Keys in PostgreSQL
  1999-07-15 20:21 Foreign Keys in PostgreSQL Simeó <simeo@nil.fut.es>
  1999-07-16 01:47 ` Re: [GENERAL] Foreign Keys in PostgreSQL Howie <caffeine@toodarkpark.org>
@ 1999-07-17 18:07   ` Simeó <simeo@nil.fut.es>
  1999-07-18 20:57     ` Re: [GENERAL] Foreign Keys in PostgreSQL Howie <caffeine@toodarkpark.org>
  0 siblings, 1 reply; 4+ messages in thread

From: Simeó @ 1999-07-17 18:07 UTC (permalink / raw)
  To: Howie <caffeine@toodarkpark.org>; +Cc: pgsql-general@postgreSQL.org, Simeó <simeo@nil.fut.es>

El dia  16-Jul-99 en Howie va escriure :
> refit is, for now, the way postgres handles foreign keys.  two functions
> are involved, check_foreign_key() and check_primary_key().

Hello Howie, thanks for your help.I have a problem I don't Have any refi*.c.
Where I can find it ?. Thanks again

          .~.    ----------------
          <          Simeó Reig 
         // \\    simeo@tinet.org 
        /( 0 )\   Tarragona (SPAIN) 
          ^ ^    -----------------   



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [GENERAL] Foreign Keys in PostgreSQL
  1999-07-15 20:21 Foreign Keys in PostgreSQL Simeó <simeo@nil.fut.es>
  1999-07-16 01:47 ` Re: [GENERAL] Foreign Keys in PostgreSQL Howie <caffeine@toodarkpark.org>
  1999-07-17 18:07   ` Re: [GENERAL] Foreign Keys in PostgreSQL Simeó <simeo@nil.fut.es>
@ 1999-07-18 20:57     ` Howie <caffeine@toodarkpark.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Howie @ 1999-07-18 20:57 UTC (permalink / raw)
  To: Simeó <simeo@nil.fut.es>; +Cc: pgsql-general@postgreSQL.org

On Sat, 17 Jul 1999, [iso-8859-1] Simeó wrote:

> El dia  16-Jul-99 en Howie va escriure :
> > refit is, for now, the way postgres handles foreign keys.  two functions
> > are involved, check_foreign_key() and check_primary_key().
> 
> Hello Howie, thanks for your help.I have a problem I don't Have any refi*.c.
> Where I can find it ?. Thanks again

should be in pgsql_src_root/contrib/spi/.  im not sure if it comes with
non-source distributions ( yet another reason to get source tarballs and
not rely on package management ).

---
Howie <caffeine@toodarkpark.org>   URL: http://www.toodarkpark.org    
"The distance between insanity and genius is measured only by success."




^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~1999-07-18 20:57 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-07-15 20:21 Foreign Keys in PostgreSQL Simeó <simeo@nil.fut.es>
1999-07-16 01:47 ` Howie <caffeine@toodarkpark.org>
1999-07-17 18:07   ` Simeó <simeo@nil.fut.es>
1999-07-18 20:57     ` Howie <caffeine@toodarkpark.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox