Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XEoNt-0000X3-Fa for pgsql-bugs@arkaria.postgresql.org; Tue, 05 Aug 2014 23:43:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XEoNs-0004VG-Uz for pgsql-bugs@arkaria.postgresql.org; Tue, 05 Aug 2014 23:43:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XEoNs-0004Uk-1j for pgsql-bugs@postgresql.org; Tue, 05 Aug 2014 23:43:12 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XEoNn-0001ce-SV for pgsql-bugs@postgresql.org; Tue, 05 Aug 2014 23:43:10 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XEoNl-0008Ky-3D for pgsql-bugs@postgresql.org; Tue, 05 Aug 2014 16:43:05 -0700 Date: Tue, 5 Aug 2014 16:43:05 -0700 (PDT) From: David G Johnston To: pgsql-bugs@postgresql.org Message-ID: <1407282185092-5813843.post@n5.nabble.com> In-Reply-To: <20140805215632.2708.93022@wrigleys.postgresql.org> References: <20140805215632.2708.93022@wrigleys.postgresql.org> Subject: Re: BUG #11128: Error in pg_restore with materialized view MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: 0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org mpmilanez wrote > The following bug has been logged on the website: >=20 > Bug reference: 11128 > Logged by: Marcos Paulo Milan=C3=AAz Santana > Email address:=20=20=20=20=20=20 > mpmilanez@ > PostgreSQL version: 9.3.4 > Operating system: CentOS 6.5 > Description:=20=20=20=20=20=20=20=20 >=20 > I'm trying to restore a database after creating some materialized views. > This is the command used for dump: pg_dump --blobs -Fc -f > bkp_database_siop.dmp.fc -x siop; > The command used for restore: pg_restore -Fc -C -O -x -v -j 4 > --disable-triggers -d postgres bkp_database_siop.dmp.fc; > Here is the error I get: There were quite a few pg_restore fixes, including some related to materialized views, in 9.3.5 so I'd suggest upgrading and trying again. If it still fails (or you cannot upgrade for some reason) you would probably need to supply a minimal example that reproduces the behavior. David J. -- View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-1= 1128-Error-in-pg-restore-with-materialized-view-tp5813835p5813843.html Sent from the PostgreSQL - bugs mailing list archive at Nabble.com. --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs