pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: Daulat Ram <Daulat.Ram@exponential.com>
Cc: pgsql-performance@lists.postgresql.org <pgsql-performance@lists.postgresql.org>
Subject: Re: Backup and Restore (pg_dump & pg_restore)
Date: Sun, 21 Apr 2019 18:18:24 +0200
Message-ID: <20190421161824.aybvezdn6lzsdj2a@development> (raw)
In-Reply-To: <BL0PR01MB518710A35F4FF2A127563A2A9B200@BL0PR01MB5187.prod.exchangelabs.com>
References: <BL0PR01MB518710A35F4FF2A127563A2A9B200@BL0PR01MB5187.prod.exchangelabs.com>

On Sat, Apr 20, 2019 at 06:50:47PM +0000, Daulat Ram wrote:
>   Hello Team,
>
>    
>
>   We are getting below error while migrating pg_dump from Postgresql 9.6 to
>   Postgresql 11.2 via pg_restore in docker environment.
>
>    
>
>   90d4c9f363c8:~$ pg_restore -d kbcn "/var/lib/kbcn_backup19"
>
>   pg_restore: [archiver (db)] Error while PROCESSING TOC:
>
>   pg_restore: [archiver (db)] Error from TOC entry 3; 2615 2200 SCHEMA
>   public postgres
>
>   pg_restore: [archiver (db)] could not execute query: ERROR: schema
>   "public" already exists
>
>   Command was: CREATE SCHEMA public;
>
>   

How is this related to performance? Please send it to pgsql-general, and
include information about how you created the dump.

regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services 





view thread (9+ messages)  latest in thread

Message-ID: <20190421161824.aybvezdn6lzsdj2a@development>
Permalink:  ../20190421161824.aybvezdn6lzsdj2a@development/
Also on:    postgresql.org/message-id/20190421161824.aybvezdn6lzsdj2a@development

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tomas.vondra@2ndquadrant.com, Daulat.Ram@exponential.com, pgsql-performance@lists.postgresql.org
  Subject: Re: Backup and Restore (pg_dump & pg_restore)
  In-Reply-To: <20190421161824.aybvezdn6lzsdj2a@development>
  References: <BL0PR01MB518710A35F4FF2A127563A2A9B200@BL0PR01MB5187.prod.exchangelabs.com> <20190421161824.aybvezdn6lzsdj2a@development>

* 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