pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Iain <iain@mst.co.jp>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: archive is compressed - any data will not be available
Date: Mon, 20 Dec 2004 19:17:28 +0900
Message-ID: <001501c4e67d$1ed4cea0$7201a8c0@mst1x5r347kymb> (raw)
References: <000d01c4e421$ea62e560$7201a8c0@mst1x5r347kymb>
	<20714.1103302655@sss.pgh.pa.us>

Hi,

Thanks for that. It seems that you were right.

We used pg_restore to create a plain text dump file on the original machine 
and brought that down to the other machine which worked fine.

regards
Iain

> Apparently you are trying to load into a server compiled with different
> options --- specifically, the destination software was built without zlib
> and so has no ability to read (nor create) compressed archives.
>
> Your choices are to go back to the source DB and tell pg_dump to dump
> without compression, or to rebuild the destination DB with zlib
> available.
>
> I think, but wouldn't entirely swear to it, that zlib is only used in
> pg_dump/pg_restore, so it might be sufficient to rebuild those two
> programs and not the whole Postgresql suite.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster 




view thread (3+ messages)

Message-ID: <001501c4e67d$1ed4cea0$7201a8c0@mst1x5r347kymb>
Permalink:  ../001501c4e67d$1ed4cea0$7201a8c0@mst1x5r347kymb/
Also on:    postgresql.org/message-id/001501c4e67d$1ed4cea0$7201a8c0@mst1x5r347kymb

 · 

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: iain@mst.co.jp, tgl@sss.pgh.pa.us
  Subject: Re: archive is compressed - any data will not be available
  In-Reply-To: <001501c4e67d$1ed4cea0$7201a8c0@mst1x5r347kymb>
  References: <000d01c4e421$ea62e560$7201a8c0@mst1x5r347kymb> <20714.1103302655@sss.pgh.pa.us> <001501c4e67d$1ed4cea0$7201a8c0@mst1x5r347kymb>

* 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