pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Koczan <pjkoczan@gmail.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: Legacy foreign keys
Date: Mon, 10 Dec 2007 13:53:12 -0600
Message-ID: <4544e0330712101153u124b6e41x77f9b9b86151c470@mail.gmail.com> (raw)
In-Reply-To: <20071210195046.GE27126@alvh.no-ip.org>
References: <4544e0330712101112r6aeccfcckef378a7ea1795e07@mail.gmail.com>
	<20071210195046.GE27126@alvh.no-ip.org>

On Dec 10, 2007 1:50 PM, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> Peter Koczan escribió:
> > Hi all,
> >
> > I am having a problem with what appear to be legacy foreign keys in
> > some of my databases (probably pre-7.2 days). They won't restore from
> > 8.2 to 8.3, because the '<unnamed>' field in the called function isn't
> > unique when I try to restore more than one of these legacy keys
>
> 8.3's pg_dump contains smarts to dump these things as normal FKs.  Try
> it.

Oh, that explains the problems...I was using 8.2's pg_dump. I'll try
it out. Thanks.

Peter



view thread (15+ messages)  latest in thread

Message-ID: <4544e0330712101153u124b6e41x77f9b9b86151c470@mail.gmail.com>
Permalink:  ../4544e0330712101153u124b6e41x77f9b9b86151c470@mail.gmail.com/
Also on:    postgresql.org/message-id/4544e0330712101153u124b6e41x77f9b9b86151c470@mail.gmail.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: pjkoczan@gmail.com, alvherre@alvh.no-ip.org
  Subject: Re: Legacy foreign keys
  In-Reply-To: <4544e0330712101153u124b6e41x77f9b9b86151c470@mail.gmail.com>

* 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