Re: Verifying Referential Integrity

Поиск
Список
Период
Сортировка
От Frank Miles
Тема Re: Verifying Referential Integrity
Дата
Msg-id Pine.A41.4.61.0410051153220.192884@homer09.u.washington.edu
обсуждение исходный текст
Ответ на Verifying Referential Integrity  ("Geisler, Jim" <jgeisler@vocollect.com>)
Список pgsql-general
On Tue, 5 Oct 2004, Geisler, Jim wrote:

> So, as far as I know, PostgreSQL does not have any way of verifying the loss
> of referential integrity.
>
> Are there any recommended methods or utilities for checking referential
> integrity in a PostgreSQL database?

Perhaps someone knows of a more "automatic" solution, but what I have done
is generate a test set that exercises as many aspects of the table design
as I have been able to imagine.  It also tests pgsql functions, including
triggers.  This is particularly useful with version changes.  As the
occasional bug is found, more test cases are added.  Like a unit or
regression test, of course.

Those more experienced than I probably have better ideas...

     -frank

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

Предыдущее
От: "Jimmie H. Apsey"
Дата:
Сообщение: Re: Verifying Referential Integrity
Следующее
От: "Mike Morris"
Дата:
Сообщение: SSL connection between PHP4 & PostgreSQL ???