pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: eromain@patriot.net
To: pgsql-admin@postgresql.org
Subject: Error Migrating From 7.4 to 8.2.5
Date: Mon, 5 Nov 2007 06:40:56 -0500 (EST)
Message-ID: <64187.164.214.4.62.1194262856.squirrel@www.patriot.net> (raw)

I am running PGSQL 7.4 on a Solaris 9 system. I am trying to upgrade to
8.2.5. Both 7.4 and 8.2.5 are on the same server. When I try to use 8.2.5
pg_dumpall to dump the 7.4 databse I receive the following error:
pg_dumpall: query failed: ERROR:  xlog flush request 58/A0AFB0C0 is not
satisfied --- flushed only to 5/B2004628
CONTEXT:  writing block 15 of relation 21182403/16408
pg_dumpall: query was: SELECT usename as rolname, usesuper as rolsuper,
true as rolinherit, usesuper as rolcreaterole, usecreatedb as rolcreatedb,
usecatupd as rolcatupdate, true as rolcanlogin, -1 as rolconnlimit, passwd
as rolpassword, valuntil as rolvaliduntil, null as rolcomment FROM
pg_shadow UNION ALL SELECT groname as rolname, false as rolsuper, true as
rolinherit, false as rolcreaterole, false as rolcreatedb, false as
rolcatupdate, false as rolcanlogin, -1 as rolconnlimit, null::text as
rolpassword, null::abstime as rolvaliduntil, null as rolcomment FROM
pg_group WHERE NOT EXISTS (SELECT 1 FROM pg_shadow  WHERE usename =
groname) ORDER BY 1

I shut down the 7.4 database and ran pg_resetxlog. This is just a test so
I am not worried about losing data. Restarted the database and tried
pg_dumpall again. I still received the same error but on a different
block. How do I fix this problem? Thank you.




view thread (3+ messages)  latest in thread

Message-ID: <64187.164.214.4.62.1194262856.squirrel@www.patriot.net>
Permalink:  ../64187.164.214.4.62.1194262856.squirrel@www.patriot.net/
Also on:    postgresql.org/message-id/64187.164.214.4.62.1194262856.squirrel@www.patriot.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: eromain@patriot.net
  Subject: Re: Error Migrating From 7.4 to 8.2.5
  In-Reply-To: <64187.164.214.4.62.1194262856.squirrel@www.patriot.net>
  References: <64187.164.214.4.62.1194262856.squirrel@www.patriot.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox