Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 23B2C6501C7 for ; Mon, 17 Nov 2008 10:55:44 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 74924-03 for ; Mon, 17 Nov 2008 10:55:34 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.188]) by mail.postgresql.org (Postfix) with ESMTP id 757BE650224 for ; Mon, 17 Nov 2008 10:55:29 -0400 (AST) Received: by mu-out-0910.google.com with SMTP id i2so2651163mue.3 for ; Mon, 17 Nov 2008 06:55:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=CwRRe8e3y6A/Ssco9zCCh7nRR11kX8iNtpbGtXdtXjM=; b=nEZR3v4UytMGMJTnWJv6vTzPkSrKN6kSHEaFRek6ucQ1lyWdDapkovHtofJIW5MsaH vHcYiPnzxh5+R9xdZYAKeWIOKKJH7rBE0czixdGAVrKL96/rSNwzf9FXDFpf0cX9TJzB ymd7AzW+eUaY+mTHGHhJcGfRe+TPfv50PAO/Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=WO7EBRvd4Uh7W25yemfql/xi9bmhtaLlTDewaCM0EF+jac7l5fkVCseIr7WbThz+TD 2i5XTUu/S0MQNGiIHbhHBH7/oLwWpU0Ep0Jj3TaEDsoUMkfKodxjMv1R870WXmoKIrXu SExHGmvJkvj6GOTvy44EdF7FTicrQMeypbd1U= Received: by 10.180.232.16 with SMTP id e16mr1017819bkh.77.1226933727354; Mon, 17 Nov 2008 06:55:27 -0800 (PST) Received: by 10.181.26.8 with HTTP; Mon, 17 Nov 2008 06:55:27 -0800 (PST) Message-ID: <1561aee60811170655h55a5a777kf6862d2a262ad3f@mail.gmail.com> Date: Mon, 17 Nov 2008 07:55:27 -0700 From: "Anony Mous" To: pgsql-admin@postgresql.org Subject: restore failure MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_50370_13345640.1226933727354" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200811/86 X-Sequence-Number: 30740 ------=_Part_50370_13345640.1226933727354 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have a moderate size database under RH9 / pgsql 7.3 (I think... that's the PG_VERSION in the postgres user data directory.) Under 100 mb for the whole thing. I'm trying to move the DB to postgresql 8.3 under the current ubuntu in a 4-core, 4gb machine. postgresql appears to be installed and working; I added a home directory and password so I could su - postgres and work as the postgres user as I did under RH9; other than that, no fiddling. A small test db acted perfectly normally as far as I coudl tell. My database uses oids in a few places. I don't recall where or know how to figure out where (it's been years since I worried about the DB structure - it isn't broken); but I know it does use 'em. I have tried pg_dump with -o and without. In both cases, under 7.3, the command produces output without complaint. With -o, 8.3 chokes on the restore in many places, as if it didn't know what it was looking at. There are remarks about 'table "pgdump_oid" does not have oids' and there are pointers to \; at the end of a line... then it says 'syntax error at or near "94513916" (an oid?) after a create table Without -o, things proceed a bit better; during the restore there are errors complaining about characters not in UTF-8 (but both 7.3 and 8.3 are using UTF-8... I have NO idea what its problem is but I surely know I want what was in the old table, in the new table too!), and in one case, an INDEX fails, indicating there is no OID column. Doesn't indicate what it's trying to index, though. After the restore, many tables are empty that should contain a great deal of data. Others appear to have been restored. I don't know where to turn. The docs for pg_dump seem clear, use -o (because I use oids,) Use -c so that the database items are created. But restore doesn't work, and the error messages are opaque, to be generous. without -o, I'm not much better off. What now? Thanks for any help. I'm beyond desperate. The HD is failing on the old server, and RH9 won't install on the newer machines. I have backups (but since I can't retrieve them.... !!!!!) Is it possible to install the 7.3 postgresql version under ubuntu? If so, where would I find it? ------=_Part_50370_13345640.1226933727354 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have a moderate size database under RH9 / pgsql 7.3 (I think... that's the PG_VERSION in the postgres user data directory.) Under 100 mb for the whole thing.

I'm trying to move the DB to postgresql 8.3 under the current ubuntu in a 4-core, 4gb machine. postgresql appears to be installed and working; I added a home directory and password so I could su - postgres and work as the postgres user as I did under RH9; other than that, no fiddling. A small test db acted perfectly normally as far as I coudl tell.

My database uses oids in a few places. I don't recall where or know how to figure out where (it's been years since I worried about the DB structure - it isn't broken); but I know it does use 'em.

I have tried pg_dump with -o and without. In both cases, under 7.3, the command produces output without complaint.

With -o, 8.3 chokes on the restore in many places, as if it didn't know what it was looking at. There are remarks about 'table "pgdump_oid" does not have oids' and there are pointers to \; at the end of a line... then it says 'syntax error at or near "94513916" (an oid?) after a create table

Without -o, things proceed a bit better; during the restore there are errors complaining about characters not in UTF-8 (but both 7.3 and 8.3 are using UTF-8... I have NO idea what its problem is but I surely know I want what was in the old table, in the new table too!), and in one case, an INDEX fails, indicating there is no OID column. Doesn't indicate what it's trying to index, though. After the restore, many tables are empty that should contain a great deal of data. Others appear to have been restored.

I don't know where to turn. The docs for pg_dump seem clear, use -o (because I use oids,) Use -c so that the database items are created. But restore doesn't work, and the error messages are opaque, to be generous. without -o, I'm not much better off. What now?

Thanks for any help. I'm beyond desperate. The HD is failing on the old server, and RH9 won't install on the newer machines. I have backups (but since I can't retrieve them.... !!!!!)

Is it possible to install the 7.3 postgresql version under ubuntu? If so, where would I find it?

------=_Part_50370_13345640.1226933727354--