public inbox for [email protected]  
help / color / mirror / Atom feed
From: Dave Page <[email protected]>
To: Alexey Borzov <[email protected]>
Cc: [email protected]
Subject: Re: Some more questions on DB schema
Date: Wed, 28 Apr 2004 13:48:45 +0100
Message-ID: <[email protected]> (raw)

 

> -----Original Message-----
> From: Alexey Borzov [mailto:[email protected]] 
> Sent: 28 April 2004 13:39
> To: Dave Page
> Cc: [email protected]
> Subject: Re: [pgsql-www] Some more questions on DB schema
> 
> 
> There are some problems with this... Run the following query
> 
> SELECT id, version, file
> FROM comments c
> WHERE NOT EXISTS (
>      SELECT id
>      FROM docs d
>      WHERE d.version = c.version AND
>            d.file = c.file
> );
> 
> and observe the comments that are linked to non-existant 
> pages of documentation. Someone'll have to fix these before 
> adding a foreign key will be possible.

Fixed, fkey added.

Regards, Dave.




view thread (4+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Some more questions on DB schema
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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