pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <ringerc@ringerc.id.au>
To: Dave Cramer <pg@fastcrypt.com>
Cc: wbrana <wbrana@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: An I/O error occured while sending to the backend
Date: Tue, 12 Jun 2012 16:04:38 +0800
Message-ID: <4FD6F816.6070705@ringerc.id.au> (raw)
In-Reply-To: <CADK3HH+V45n67XU6Px7VPXOk7ROAui8T0fR8nNrrgBEG+P8qKA@mail.gmail.com>
References: <CAJ7jCmn6e_L1SNyuGMx=kdDR+-WNzy1LQ2gy_2=iG8hB+SKsCg@mail.gmail.com>
	<CAJ7jCm=BaK7x-RjU8Mz6ZOjtkQ0e3UBr1XpccSxWpkVghV8+JQ@mail.gmail.com>
	<CADK3HH+V45n67XU6Px7VPXOk7ROAui8T0fR8nNrrgBEG+P8qKA@mail.gmail.com>

On 06/12/2012 05:55 AM, Dave Cramer wrote:
> How about a tar file for the downloads. I certainly don't run windows.
Just for the future: 7zip works well on Linux. In fact, I strongly 
prefer it to tar+gzip. It offers better compression ratios and much more 
robust archive files.

yum install p7zip

apt-get install p7zip-full

Handily, as well as its own native high-compression-ratio archive 
format, 7zip deals with all those annoying RARs and ARJs and all that 
mess that people send around.

(Digressing somewhat:)

I don't understand why *nix users stick to tar. As a long-time Linux 
user, I avoid it and think tar files are obsolete. Creating an archive 
then compressing it with a stream cypher means that a one-bit error 
renders the archive completely destroyed after the error bit, so it's 
not good for backups. The compression ratio offered by tar+gzip is poor, 
so it isn't much good for file exchange unless you ditch gzip for bzip2, 
which is _really_ slow and still doesn't offer great compression ratios.

Better IMO to stick to zip files, or 7zip when compression ratio 
matters. IMO about the only use for tar is if you need to archive device 
nodes, POSIX ACLs, xattrs, etc, in which case `star' or GNU tar are 
better choices.

--
Craig Ringer



view thread (27+ messages)  latest in thread

Message-ID: <4FD6F816.6070705@ringerc.id.au>
Permalink:  ../4FD6F816.6070705@ringerc.id.au/
Also on:    postgresql.org/message-id/4FD6F816.6070705@ringerc.id.au

 · 

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-jdbc@postgresql.org
  Cc: ringerc@ringerc.id.au, pg@fastcrypt.com, wbrana@gmail.com
  Subject: Re: An I/O error occured while sending to the backend
  In-Reply-To: <4FD6F816.6070705@ringerc.id.au>
  References: <CAJ7jCmn6e_L1SNyuGMx=kdDR+-WNzy1LQ2gy_2=iG8hB+SKsCg@mail.gmail.com> <CAJ7jCm=BaK7x-RjU8Mz6ZOjtkQ0e3UBr1XpccSxWpkVghV8+JQ@mail.gmail.com> <CADK3HH+V45n67XU6Px7VPXOk7ROAui8T0fR8nNrrgBEG+P8qKA@mail.gmail.com> <4FD6F816.6070705@ringerc.id.au>

* 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