Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g16G00E70872 for ; Wed, 6 Feb 2002 11:00:00 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id g16Flmg16261 for pgsql-admin@postgresql.org; Wed, 6 Feb 2002 10:47:48 -0500 (EST) (envelope-from news) From: s.chava@wcom.com (Srinivasa Rao Chava) X-Newsgroups: comp.databases.postgresql.admin Subject: pg_restore Date: 6 Feb 2002 07:47:38 -0800 Organization: http://groups.google.com/ Lines: 17 Message-ID: <66d229f1.0202060747.39b66049@posting.google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-admin@postgresql.org X-Archive-Number: 200202/42 X-Sequence-Number: 3203 Hey, I have upgraded my pgostgresql from 7.1.2 to 7.1.3 as the pg_restore is not working properly in 7.1.2 I took the database backup with pg_dump. After upgrading to 7.1.3, I have restored the database with pg_restore. It is restoring , but giving the following error with sequences and recovery is failing Archiver(db): Could not execute query. Code = 7. Explanation from backend: 'ERROR: mysequence.setval: you don't have permissions to set sequence mysequence Why it is giving the error that the perssion is not there. Actually, I 'm restoring from pgsql super user account. Can anybody help me how to fix it. Thanks in advance