| От | Tom Lane |
|---|---|
| Тема | Re: pg_constraint and constraint triggers |
| Дата | |
| Msg-id | 29916.1051303860@sss.pgh.pa.us обсуждение |
| Ответ на | pg_constraint and constraint triggers ("Dave Page" <dpage@vale-housing.co.uk>) |
| Ответы |
Re: pg_constraint and constraint triggers
|
| Список | pgsql-hackers |
"Dave Page" <dpage@vale-housing.co.uk> writes:
> I couldn't find anything obvious in the archives, but if I dump a
> database created in 7.2, then foreign keys are created using CREATE
> CONSTRAINT TRIGGER statement. These do not appear to create entries in
> pg_constraint in 7.3.x, so as the database is developed further, we end
> up with 2 'styles' of fkeys in the catalogues.
contrib/adddepend/ is supposed to help out with upgrading definitions
loaded from old databases. Possibly you could adapt its logic into
a "fix things" operation in pgAdmin.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера