pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bob Pawley <rjpawley@shaw.ca>
To: Richard Huxton <dev@archonet.com>
Cc: Dave Page <dpage@postgresql.org>
Cc: Shoaib Mir <shoaibmir@gmail.com>
Cc: Postgresql <pgsql-general@postgresql.org>
Subject: Re: Backup Restore
Date: Wed, 03 Jan 2007 11:26:09 -0800
Message-ID: <00af01c72f6d$060d1590$8e904618@owner> (raw)
References: <000e01c72ab1$ceec0220$8e904618@owner>
	<bf54be870612281108w1cb4a93bg9816e30c78d67ea2@mail.gmail.com>
	<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>

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" <dev@archonet.com>
To: "Bob Pawley" <rjpawley@shaw.ca>
Cc: "Dave Page" <dpage@postgresql.org>; "Shoaib Mir" <shoaibmir@gmail.com>; 
"Postgresql" <pgsql-general@postgresql.org>
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
> 




view thread (25+ messages)  latest in thread

Message-ID: <00af01c72f6d$060d1590$8e904618@owner>
Permalink:  ../00af01c72f6d$060d1590$8e904618@owner/
Also on:    postgresql.org/message-id/00af01c72f6d$060d1590$8e904618@owner

 · 

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 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-general@postgresql.org
  Cc: rjpawley@shaw.ca, dev@archonet.com, dpage@postgresql.org, shoaibmir@gmail.com
  Subject: Re: Backup Restore
  In-Reply-To: <00af01c72f6d$060d1590$8e904618@owner>
  References: <000e01c72ab1$ceec0220$8e904618@owner> <bf54be870612281108w1cb4a93bg9816e30c78d67ea2@mail.gmail.com> <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> <00af01c72f6d$060d1590$8e904618@owner>

* 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