X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7832E8B9FFC for ; Wed, 16 Feb 2005 00:54:55 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 52076-02 for ; Wed, 16 Feb 2005 00:54:42 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id A4B428B9B3A for ; Wed, 16 Feb 2005 00:54:35 +0000 (GMT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.1/8.13.1) with ESMTP id j1G0sJLw028692 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 15 Feb 2005 17:54:21 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.1/8.13.1) with ESMTP id j1G0sIYq013832; Tue, 15 Feb 2005 17:54:18 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.1/8.13.1/Submit) id j1G0sHch013831; Tue, 15 Feb 2005 17:54:17 -0700 (MST) (envelope-from mfuhr) Date: Tue, 15 Feb 2005 17:54:17 -0700 From: Michael Fuhr To: Ricardo =?iso-8859-1?Q?Valen=E7a?= de Assis Cc: pgsql-admin@postgresql.org Subject: Re: Problems with dump Message-ID: <20050216005417.GA13781@winnie.fuhr.org> References: <00c601c51354$9a927fc0$1b00280a@ugf.br> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <00c601c51354$9a927fc0$1b00280a@ugf.br> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.003 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/134 X-Sequence-Number: 16302 On Tue, Feb 15, 2005 at 08:50:53AM -0300, Ricardo Valença de Assis wrote: > > I'm trying to migrate a database from one server to another but I got > a hard problem. All the tables and sequences are migrated but the field > last_value of ALL sequences is set to 1. Why this? The others fields of > them are set correctly but last_value it not. Is there a way to dump > only sequences? What versions of PostgreSQL are the servers running? What commands did you run to dump and restore the database? Does a restore print errors? If so, what are they? -- Michael Fuhr http://www.fuhr.org/~mfuhr/