Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 589B39FA0EE; Wed, 3 Jan 2007 15:27:38 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 98154-08; Wed, 3 Jan 2007 15:27:27 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from pd3mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by postgresql.org (Postfix) with ESMTP id 589FA9FA4CD; Wed, 3 Jan 2007 15:27:27 -0400 (AST) Received: from pd2mr2so.prod.shaw.ca (pd2mr2so-qfe3.prod.shaw.ca [10.0.141.109]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JBB003XN4O46D10@l-daemon>; Wed, 03 Jan 2007 12:26:28 -0700 (MST) Received: from pn2ml4so.prod.shaw.ca ([10.0.121.148]) by pd2mr2so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JBB00H9H4O1BIMB@pd2mr2so.prod.shaw.ca>; Wed, 03 Jan 2007 12:26:28 -0700 (MST) Received: from owner ([24.70.144.142]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0JBB008TE4NP96N0@l-daemon>; Wed, 03 Jan 2007 12:26:14 -0700 (MST) Date: Wed, 03 Jan 2007 11:26:09 -0800 From: Bob Pawley Subject: Re: Backup Restore To: Richard Huxton Cc: Dave Page , Shoaib Mir , Postgresql Message-id: <00af01c72f6d$060d1590$8e904618@owner> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Mailer: Microsoft Outlook Express 6.00.2900.3028 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=response Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal References: <000e01c72ab1$ceec0220$8e904618@owner> <45941B3B.8060708@postgresql.org> <002601c72ab8$97bc5640$8e904618@owner> <459423C1.70009@postgresql.org> <006001c72aec$2789cfe0$8e904618@owner> <4594CD6D.1050104@postgresql.org> <001001c72b7a$ba2e7600$8e904618@owner> <4595650F.7000504@postgresql.org> <001901c72b7f$5a5e29f0$8e904618@owner> <459A2D47.4020206@archonet.com> <009d01c72f62$14e98fe0$8e904618@owner> <459BF99F.3090005@archonet.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/99 X-Sequence-Number: 106639 Found it in template 1. This seems strange as both servers and pgadmins are the same version and I haven't opened the template until today. Bob ----- Original Message ----- From: "Richard Huxton" To: "Bob Pawley" Cc: "Dave Page" ; "Shoaib Mir" ; "Postgresql" Sent: Wednesday, January 03, 2007 10:44 AM Subject: Re: [GENERAL] Backup Restore > Bob Pawley wrote: >> Looking through PGAdmin where would I find the spatial references that >> the errror message references? > >>> Bob Pawley wrote: >>>> Following is the error message on pg_restore:- >>>> >>>> "pg_restore: ERROR: duplicate key violates unique constraint >>>> "spatial_ref_sys_pkey" >>>> CONTEXT: COPY spatial_ref_sys, line 1: "2000 EPSG 2000 >>>> PROJCS["Anguilla 1957 / British West Indies Grid",GEOGCS["Anguilla >>>> 1957",DATUM["Angui..." > > Looking at this, you should have a table "spatial_ref_sys" with a primary > key constraint "spatial_ref_sys_pkey" > > Find the table via the left-hand tree conrol and its details should be > listed on the right-hand side. The primary key will be detailed at the top > and bottom > > -- > Richard Huxton > Archonet Ltd > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster >