Re: pg_dump: relation "..." already exists warning

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: nasr(dot)laili(at)tin(dot)it
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: pg_dump: relation "..." already exists warning
Date: 2005-09-17 22:05:19
Message-ID: 9567.1126994719@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Ennio-Sr <nasr(dot)laili(at)tin(dot)it> writes:
> running the command:
> $ pg_dump finanz -t ult_qq | psql finanza ennio ult.qq

> I can see that table 'ult_qq' is regularly created in 'finanza' and
> continues to exist in 'finanz', although pg is firing this warning:

> SET
> SET
> SET
> SET
> ERROR: relation "ult_qq" already exists
> SET
> ERROR: relation "ult_qq" already exists
> SET
> SET

> which I'm unable to explain.

It seems fairly easily explainable to me: the table already exists.
Perhaps because you already restored into this destination database?

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Ennio-Sr 2005-09-18 00:34:28 Re: pg_dump: relation "..." already exists warning
Previous Message Ennio-Sr 2005-09-17 15:01:40 pg_dump: relation "..." already exists warning