From: Stef <svb@ucs.co.za>
To: pgsql-admin@postgresql.org
Subject: triggers to foreign keys
Date: Thu, 12 Jun 2003 15:12:37 +0200
Message-ID: <20030612151237.39618930.svb@ucs.co.za> (raw)
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
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: svb@ucs.co.za
Subject: Re: triggers to foreign keys
In-Reply-To: <20030612151237.39618930.svb@ucs.co.za>
References: <20030612151237.39618930.svb@ucs.co.za>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox