From valenca@campusvirtual.br Tue Feb 15 10:52:26 2005 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 0C7F68BA16B for ; Tue, 15 Feb 2005 10:52:26 +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 22631-06 for ; Tue, 15 Feb 2005 10:52:23 +0000 (GMT) Received: from uead1.campusvirtual.br (unknown [200.222.48.42]) by svr1.postgresql.org (Postfix) with ESMTP id 2066B8BA15B for ; Tue, 15 Feb 2005 10:52:18 +0000 (GMT) Received: from silvio (unknown [10.40.0.27]) by uead1.campusvirtual.br (Postfix) with SMTP id 09841192736 for ; Tue, 15 Feb 2005 10:38:41 +0000 (UTC) Message-ID: <00c601c51354$9a927fc0$1b00280a@ugf.br> From: =?iso-8859-1?Q?Ricardo_Valen=E7a_de_Assis?= To: Subject: Problems with dump Date: Tue, 15 Feb 2005 08:50:53 -0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00C3_01C5133B.74FA8320" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Campus_Virtual-UGF-MailScanner-Information: Please contact the ISP for more information X-Campus_Virtual-UGF-MailScanner: Found to be clean X-MailScanner-From: valenca@campusvirtual.br X-Virus-Scanned: by amavisd-new at hub.org X-Archive-Number: 200502/119 X-Sequence-Number: 16287 This is a multi-part message in MIME format. ------=_NextPart_000_00C3_01C5133B.74FA8320 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello World! I=B4m 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? Thanks! Att. Ricardo Valen=E7a UEAD - UGF ------=_NextPart_000_00C3_01C5133B.74FA8320 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello World!
 
    I=B4m trying to = migrate a database=20 from one server to another but I got a hard problem. All = the tables=20 and sequences are migrated but the field last_value of ALL sequences is = set to=20 1. Why this? The others fields of them are set correctly but last_value = it not.=20 Is there a way to dump only sequences?
 
Thanks!
 
Att.
Ricardo Valen=E7a
UEAD -=20 UGF
------=_NextPart_000_00C3_01C5133B.74FA8320-- From mike@fuhr.org Wed Feb 16 00:54:55 2005 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/