agora inbox for pgsql-admin@postgresql.org  
help / color / mirror / Atom feed
From: Thyagarajan Vasudevan <thyaga@vitalect.com>
To: pgsql-admin@postgresql.org
To: pgsql-general@postgresql.org
Subject: pg_upgrade
Date: Tue, 06 Feb 2001 21:30:44 -0800
Message-ID: <3A80DD84.B76AFB44@bytekinc.com> (raw)

Hi All
    I am trying to upgrade from Postgres 6.5 to Postgres 7.0.3. Now, in
the previous version of the Database, i have a lot of triggers which
simulate the Foreign key functionality, by using the checkPrimaryKey and
the checkForeignKey functions defined in refint.c.
    My question is:
        If I use pg_upgrade to shift from 6.5 to 7.0.3, will these
triggers automatically be removed and be converted into a FOREIGN KEY
constraint in the appropriate tables.

Thanks
Thyaga




view thread (13+ messages)  latest in thread

Message-ID: <3A80DD84.B76AFB44@bytekinc.com>
Permalink:  ../3A80DD84.B76AFB44@bytekinc.com/
Also on:    postgresql.org/message-id/3A80DD84.B76AFB44@bytekinc.com

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: thyaga@vitalect.com, pgsql-general@postgresql.org
  Subject: Re: pg_upgrade
  In-Reply-To: <3A80DD84.B76AFB44@bytekinc.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox