triggers to foreign keys

Поиск
Список
Период
Сортировка
От Stef
Тема triggers to foreign keys
Дата
Msg-id 20030612151237.39618930.svb@ucs.co.za
обсуждение исходный текст
Ответы Re: triggers to foreign keys  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
If one has upgraded postgres from 7.1.2 to 7.3.1,
how does one convert all the triggers that represent
7.1.2 foreign keys to actual foreign keys.

What I really want to have, is that when I dump the new
upgraded database, that the tables will be dumped with the
original "foreign key" syntax as they were created initially on
7.1.2, and not a bunch of triggers.

My problem is that programs like Visio don't see triggers
properly as entity relationships when drawing reverse engineered table
ERD's.

It works 100% when the table is created in 7.3.1
with the appropriate foreign key syntax.

Will appreciate any help


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

Предыдущее
От: "Nathalie Boulos"
Дата:
Сообщение: default value
Следующее
От: Tom Lane
Дата:
Сообщение: Re: default value