From: | Vince Vielhaber <vev(at)michvhf(dot)com> |
---|---|
To: | Eugene Karpachov <jk(at)steel(dot)orel(dot)ru> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Releases: 7.0.1, 7.0.2 |
Date: | 2000-06-07 10:43:48 |
Message-ID: | Pine.BSF.4.21.0006070640400.93556-100000@paprika.michvhf.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, 7 Jun 2000, Eugene Karpachov wrote:
> Tue, Jun 06, 2000 at 03:24:56PM -0300, The Hermit Hacker :
> > On Tue, 6 Jun 2000, Eugene Karpachov wrote:
> >
> > > Excuse me, but why postgresql team doesn't release patches? I mean something
> > > like postgresql-7.0-7.0.1.diff.gz etc. It is big waste of traffic to download
> > > all the source distribution again.
> >
> > we've tried in the past, and so far nobody has been able to give us a
> > patch command that works effectively *shrug* each time we've tried, the
> > patch has blown up in someone's face :(
>
> Ok, I'll try it myself.
>
> I have no 7.0.1 so I trying to make diff from 7.0 to 7.0.2.
>
> %tar -zxf postgresql-7.0.tar.gz
> %tar -zxf postgresql-7.0.2.tar.gz
> %diff -rNU 3 postgresql-7.0 postgresql-7.0.2 > postgresql-7.0-7.0.2.diff
> %wc postgresql-7.0-7.0.2.diff
> 23411 103967 914476 postgresql-7.0-7.0.2.diff
>
> It has not blown up in my face! 914476 bytes only.
>
> And better:
> %diff -rNU 3 postgresql-7.0 postgresql-7.0.2 |
> gzip -9 >postgresql-7.0-7.0.2.diff.gz
> %wc -c postgresql-7.0-7.0.2.diff.gz
> 163903 postgresql-7.0-7.0.2.diff.gz
>
> or better:
> %diff -rNU 3 postgresql-7.0 postgresql-7.0.2 |
> bzip2 >postgresql-7.0-7.0.2.diff.bz2
> %wc -c postgresql-7.0-7.0.2.diff.gz
> 131978 postgresql-7.0-7.0.2.diff.bz2
>
> 131978 bytes - it is not the same as 7211311 (postgresql-7.0.2.tar.gz)!
>
> The only problem is how to deal with binary files - those .gz etc?
> May be include them into distribution untarred/ungzipped because the
> whole distribution is gzipped anyway?
>
>
The problem wasn't in creating the diff, that can be done out of cvs
easily enough. The problem was the resultant patch that wasn't 100%
portable on all systems and would blow up in someone's face when they
tried to apply it.
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: vev(at)michvhf(dot)com http://www.pop4.net
128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
From | Date | Subject | |
---|---|---|---|
Next Message | Ice Planet | 2000-06-07 10:47:33 | Using index |
Previous Message | Horák Daniel | 2000-06-07 09:47:20 | RE: Running PostgreSQL 7.0 on WinNT w/cygwinb20 and cyg win-ipc |