Re: Some more questions on DB schema

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Some more questions on DB schema
Дата
Msg-id 03AF4E498C591348A42FC93DEA9661B889FBA4@mail.vale-housing.co.uk
обсуждение исходный текст
Ответ на Some more questions on DB schema  (Alexey Borzov <borz_off@cs.msu.su>)
Список pgsql-www

> -----Original Message-----
> From: Alexey Borzov [mailto:borz_off@cs.msu.su]
> Sent: 28 April 2004 13:39
> To: Dave Page
> Cc: pgsql-www@postgresql.org
> 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.

В списке pgsql-www по дате отправления:

Предыдущее
От: Alexey Borzov
Дата:
Сообщение: Re: Some more questions on DB schema
Следующее
От: Ned Lilly
Дата:
Сообщение: docs search not working?