Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 158472E2E83 for ; Mon, 10 Dec 2007 15:53:24 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 51792-07 for ; Mon, 10 Dec 2007 15:53:13 -0400 (AST) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176]) by postgresql.org (Postfix) with ESMTP id A469D2E02C6 for ; Mon, 10 Dec 2007 15:53:15 -0400 (AST) Received: by wa-out-1112.google.com with SMTP id m38so3807517waf for ; Mon, 10 Dec 2007 11:53:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=8PdmANdGcXJgnEhSbYKjKqd17PwHJsYnDeW7F1+yfqk=; b=EiBOrkCs3enH7/yFlajt5qtAupZRrBWU/aYgYwcOzVa01Q6/z6RbNUj62lMt4US2+IUfqedMDsWmIvql56fwxzPdMMInQRRccnz0aMKtg7ZosPsWALhtw6kMg47oqAafbsuQMAWxdTEH2LVlfkSF/c7yjR7tl4kFt//5HT9Y5PQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Hp9AVF/7QirQ/x+K727wkNnySODl+Y0Czjuhup2TnUjWmsS24I+YJaHKmozRi0riBkBcCfPx9UqV5jmcBwPl77a+8DaaFc21XhdfQRBSuKLIq4qCs7WwCUPKIhvb46O2xo1N5KSkz2nwyyp4sk2DUjr4Twsh/FObwWDCSfTsLxE= Received: by 10.114.137.2 with SMTP id k2mr1298540wad.1197316392772; Mon, 10 Dec 2007 11:53:12 -0800 (PST) Received: by 10.114.199.9 with HTTP; Mon, 10 Dec 2007 11:53:12 -0800 (PST) Message-ID: <4544e0330712101153u124b6e41x77f9b9b86151c470@mail.gmail.com> Date: Mon, 10 Dec 2007 13:53:12 -0600 From: "Peter Koczan" To: "Alvaro Herrera" Subject: Re: Legacy foreign keys Cc: pgsql-admin@postgresql.org In-Reply-To: <20071210195046.GE27126@alvh.no-ip.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4544e0330712101112r6aeccfcckef378a7ea1795e07@mail.gmail.com> <20071210195046.GE27126@alvh.no-ip.org> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/41 X-Sequence-Number: 27558 On Dec 10, 2007 1:50 PM, Alvaro Herrera wrote: > Peter Koczan escribi=F3: > > 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 '' 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