Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 1C10C1953479 for ; Mon, 14 Nov 2011 20:44:03 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 97193-09 for ; Tue, 15 Nov 2011 00:43:57 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 15CC21953478 for ; Mon, 14 Nov 2011 20:43:57 -0400 (AST) Received: from smtp.01.com ([216.115.88.169]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RQ780-00016h-59 for pgsql-bugs@postgresql.org; Tue, 15 Nov 2011 00:43:57 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-out-2.01.com (Postfix) with ESMTP id 1C864A08194 for ; Mon, 14 Nov 2011 18:43:43 -0600 (CST) X-Virus-Scanned: amavisd-new at smtp-out-2.01.com Received: from smtp.01.com ([127.0.0.1]) by localhost (smtp-out-2.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BXG1OwFIpbiQ for ; Mon, 14 Nov 2011 18:43:43 -0600 (CST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp-out-2.01.com (Postfix) with ESMTP id EC592A08199 for ; Mon, 14 Nov 2011 18:43:42 -0600 (CST) Received: from Sidney-Stratton.local (unknown [12.154.42.93]) by smtp-out-2.01.com (Postfix) with ESMTPSA id 92A08A08159; Mon, 14 Nov 2011 18:43:42 -0600 (CST) Message-ID: <4EC1B5BD.9010901@agliodbs.com> Date: Mon, 14 Nov 2011 16:43:41 -0800 From: Josh Berkus Organization: PostgreSQL Experts Inc. User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.24) Gecko/20111103 Lightning/1.0b2 Thunderbird/3.1.16 MIME-Version: 1.0 To: Bruce Momjian CC: pgsql-bugs@postgresql.org Subject: Re: Cannot dump 8.4.8 database using later versions References: <201111142313.pAENDep01085@momjian.us> In-Reply-To: <201111142313.pAENDep01085@momjian.us> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201111/103 X-Sequence-Number: 31698 >> ... somehow the query to dump the sequences is getting mangled. Any >> clue how? > > Seems you have a sequence called "new"; seems we don't handle that > well. So, tested this some more. For some reason, 8.4's pg_dump would recognize NEW as a reserved word and quote it before dumping. 9.0 and later pg_dump does not. Any ideas? -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com