pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shaun Thomas <sthomas@peak6.com>
To: Hany ABOU-GHOURY <hghoury@gmail.com>
Cc: Derrick Rice <derrick.rice@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: PG 9 adminstrations
Date: Wed, 21 Sep 2011 07:48:13 -0500
Message-ID: <4E79DD0D.3070201@peak6.com> (raw)
In-Reply-To: <CAEjHQvnosXN+RJ5567DynPk+y0-n5fOqcSv0GnjEcBBC=0w2mA@mail.gmail.com>
References: <CAEjHQvk31VQWAONdd_CT80ode4pr+0UvOUy9rqeWuxtX=Dh+Nw@mail.gmail.com>
	<CANvs22EqZABNVKwi-YD-eiBjrC9dwXB5CrkcbEcZFPB+Pqb5uw@mail.gmail.com>
	<CAEjHQvnosXN+RJ5567DynPk+y0-n5fOqcSv0GnjEcBBC=0w2mA@mail.gmail.com>

On 09/20/2011 11:29 PM, Hany ABOU-GHOURY wrote:

> Thanks but...did not work different error though
>
> ERROR: relation "history" already exists
> ERROR: relation "idx_history_pagegroupid" already exists
> ERROR: constraint "cdocumentid" for relation "history" already exists

Clearly the history table already exists on your second host. This may 
or may not matter, if the table definitions are the same. If the table 
on host2 was empty, it'll be filled with the data from host1. If not, 
you'll need to truncate the table on host2 first. If you don't want the 
complaints about tables or indexes or constraints that already exist, 
use the -a option for data-only dumps.

Also, might I suggest using the pgsql-novice list? They're more likely 
to help with general issues like this.

-- 
Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 800 | Chicago IL, 60604
312-676-8870
sthomas@peak6.com

______________________________________________

See http://www.peak6.com/email-disclaimer/ for terms and conditions related to this email



view thread (7+ messages)  latest in thread

Message-ID: <4E79DD0D.3070201@peak6.com>
Permalink:  ../4E79DD0D.3070201@peak6.com/
Also on:    postgresql.org/message-id/4E79DD0D.3070201@peak6.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-performance@postgresql.org
  Cc: sthomas@peak6.com, hghoury@gmail.com, derrick.rice@gmail.com
  Subject: Re: PG 9 adminstrations
  In-Reply-To: <4E79DD0D.3070201@peak6.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