Re: [HACKERS] Re: Poor cost estimate with interaction between tablecorrelation and partial indexes - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [HACKERS] Re: Poor cost estimate with interaction between tablecorrelation and partial indexes
Date
Msg-id 20170828065752.xpkljit5eaiuofpj@alvherre.pgsql
Whole thread Raw
In response to Re: [HACKERS] Re: Poor cost estimate with interaction between tablecorrelation and partial indexes  (Michael Malis <michaelmalis2@gmail.com>)
List pgsql-hackers
Michael Malis wrote:
> Hmm... It seems the command I used for obtaining a patch I got from
> here https://wiki.postgresql.org/wiki/Working_with_Git truncated part
> of the patch. I've attached the file generated from git diff
> --patience master improve-partial-index-correlation-calculation
> --no-color > improve-correlated-partial-index-cost-v2.patch to this
> email. What is the correct command for generating a context diff?

Yeah, I've had patches truncated by that too and I've never cared enough
to see about getting it fixed.  I think it's a bug in the filterdiff
utility, but I got a stupid answer from the Debian maintainer when I
reported it and didn't care to follow up any further.  Eventually I gave
up on using context diffs because of this problem.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: [HACKERS] psql --batch
Next
From: Craig Ringer
Date:
Subject: Re: [HACKERS] psql --batch