Re: [PATCH] cleanup hashindex for pg_migrator hashindex compat mode (for 8.4)

From: Greg Stark <greg(dot)stark(at)enterprisedb(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, David Fetter <david(at)fetter(dot)org>, Stephen Frost <sfrost(at)snowman(dot)net>, Dimitri Fontaine <dfontaine(at)hi-media(dot)com>, Kenneth Marshall <ktm(at)rice(dot)edu>, Zdenek Kotala <Zdenek(dot)Kotala(at)sun(dot)com>
Subject: Re: [PATCH] cleanup hashindex for pg_migrator hashindex compat mode (for 8.4)
Date: 2009-05-26 13:21:59
Message-ID: 8FA036E6-BE09-445F-BF6E-8CD51FACB682@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I'll repeat my suggestion that everyone poo-pooed: we can have the
mail list filters recognize patches, run filterdiff on them with our
prefered options, and attach the result as an additional attachment
(or link to some web directory).

I think it would be simple to do and would be happy to give it a go if
I can get the necessary access.

It doesn't solve *all* the problems since the committee still needs a
unified diff if he wants to take advantage of git's merge abilities.

I think this is actually all a red herring since it's pretty easy for
the reviewer to run filterdiff anyways. But having things be automatic
is still always easier than not.

--
Greg

On 26 May 2009, at 13:54, Andres Freund <andres(at)anarazel(dot)de> wrote:

> Hi,
>
> On 05/26/2009 01:39 PM, Peter Eisentraut wrote:
>> On Monday 25 May 2009 20:58:59 Andres Freund wrote:
>>> and executing
>>> `git config --global diff.context.command "git-external-diff"`
>> We already knew that you could do it with a wrapper. But that
>> isn't the
>> answer we were looking for, because it will basically mean that 98%
>> of casual
>> contributors will get it wrong, and it will probably not work very
>> well on
>> Windows.
> It works on windows, linux, solaris (thats what I could get my hands
> on without bothering). I tested it - it works on any non ancient
> version of git. (Ancient in the sense, that git at that time didnt
> work properly on win anyway).
> And providing a 5-line wrapper download-ready surely makes it easier
> than figuring it out how to write one out of some git manpages.
>
> Also it allows at least those who prefer context diffs to use them
> easily when using git - that are the ones which seem to prefer using
> them most.
>
>> The goal is to get git-diff to do it itself.
> I do not disagree.
>
> Andres
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-05-26 13:39:54 Re: generic options for explain
Previous Message Robert Haas 2009-05-26 13:05:17 Re: generic options for explain