Re: pg_dump: relation "..." already exists warning - Mailing list pgsql-novice

From Tom Lane
Subject Re: pg_dump: relation "..." already exists warning
Date
Msg-id 9567.1126994719@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump: relation "..." already exists warning  (Ennio-Sr <nasr.laili@tin.it>)
Responses Re: pg_dump: relation "..." already exists warning
List pgsql-novice
Ennio-Sr <nasr.laili@tin.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

pgsql-novice by date:

Previous
From: Ennio-Sr
Date:
Subject: pg_dump: relation "..." already exists warning
Next
From: Ennio-Sr
Date:
Subject: Re: pg_dump: relation "..." already exists warning