Re: pg_dump --pretty-print-views

Jan Urbański <wulczer@wulczer.org>

From: Jan Urbański <wulczer@wulczer.org>
To: Marko Tiikkaja <pgmail@joh.to>
Cc: Jeevan Chalke <jeevan.chalke@enterprisedb.com>, Andrew Dunstan <andrew@dunslane.net>, Tom Lane <tgl@sss.pgh.pa.us>, David Fetter <david@fetter.org>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2013-01-28T11:40:00Z
Lists: pgsql-hackers
On 28/01/13 12:31, Marko Tiikkaja wrote:
> On 1/28/13 12:14 PM, Jeevan Chalke wrote:
>> I could not apply the patch with git apply, but able to apply it by patch
>> -p1 command.
>
> IME that's normal for patches that went through filterdiff.  I do: git
> diff |filterdiff --format=context  to re-format the patches to the
> context diff preferred on the mailing list.  Maybe if I somehow told git
> to produce context diff it would work..

Try this, worked for me:

http://wiki.postgresql.org/wiki/Working_with_Git#Context_diffs_with_Git

Cheers,
Jan