Re: Backup Restore

From: Bob Pawley <rjpawley(at)shaw(dot)ca>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: Dave Page <dpage(at)postgresql(dot)org>, Shoaib Mir <shoaibmir(at)gmail(dot)com>, Postgresql <pgsql-general(at)postgresql(dot)org>
Subject: Re: Backup Restore
Date: 2007-01-03 19:26:09
Message-ID: 00af01c72f6d$060d1590$8e904618@owner
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Juan Martínez 2007-01-03 19:30:02 Re: Update to 8.2 in openSUSE 10.2
Previous Message Vivek Khera 2007-01-03 19:01:44 Re: queueing via database table?