Fwd: [PERFORM] PG 9 adminstrations

From: Hany ABOU-GHOURY <hghoury(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Fwd: [PERFORM] PG 9 adminstrations
Date: 2011-09-23 01:17:37
Message-ID: CAEjHQvk66a5GH4Q3QNL9a_D18cXLnkFmcvSJfogTYC-C-ujT_w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice pgsql-performance

Please help with below issue I am new to postgresql

Many thanks for taking the time to read my email

Cheers
Hany

---------- Forwarded message ----------
From: Shaun Thomas <sthomas(at)peak6(dot)com>
Date: Thu, Sep 22, 2011 at 12:48 AM
Subject: Re: [PERFORM] PG 9 adminstrations
To: Hany ABOU-GHOURY <hghoury(at)gmail(dot)com>
Cc: Derrick Rice <derrick(dot)rice(at)gmail(dot)com>, pgsql-performance(at)postgresql(dot)org

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(at)peak6(dot)com

______________________________**________________

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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Daniel Staal 2011-09-23 01:36:59 Re: Fwd: [PERFORM] PG 9 adminstrations
Previous Message Arvind Sharma 2011-09-22 22:02:31 PG-9.0 - XML Data in a Column

Browse pgsql-performance by date

  From Date Subject
Next Message Jeff Davis 2011-09-23 01:32:00 Re: IN or EXISTS
Previous Message Michael Viscuso 2011-09-22 23:21:04 Re: Query optimization using order by and limit