Skip site navigation (1) Skip section navigation (2)

Re: DRI in Docs?

From: "Alexander Staubo" <alex(at)purefiction(dot)net>
To: "Rich Shepard" <rshepard(at)appl-ecosys(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: DRI in Docs?
Date: 2007-04-29 17:27:30
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
On 4/29/07, Rich Shepard <rshepard(at)appl-ecosys(dot)com> wrote:
>    Thank you. I never before was aware of DRI, but Joe Celko mentions it
> several times in his book, "SQL Programming Style." I searched with Google
> and found a couple of hits that were postgres specific so I went looking in
> the docs to learn what it is and where it is. Couldn't find it.

We could be talking about different things, though. What Joe Celko is
probably talking about is referential integrity as defined in a schema
using foreign keys, as opposed to, say, triggers. Eg.,

  create table persons (id serial, name text, ...);
  create table employees (person_id integer references persons (id));

PostgreSQL supports the ANSI SQL syntax for declaring foreign keys.
Documentation here:

But that's fundamental SQL, so this might not be what you are referring to.


In response to


pgsql-general by date

Next:From: shieldyDate: 2007-04-29 17:36:36
Subject: SOS, help me please, one problem towards the postgresql developement on windows
Previous:From: Matthew CookeDate: 2007-04-29 15:36:17
Subject: tsearch2 issue

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group