pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Justin Pryzby <pryzby@telsasoft.com>
Cc: Masahiko Sawada <masahiko.sawada@2ndquadrant.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-hackers@postgresql.org
Subject: Re: error context for vacuum to include block number
Date: Tue, 21 Jan 2020 23:19:54 -0300
Message-ID: <20200122021954.GA5885@alvherre.pgsql> (raw)
In-Reply-To: <20200122011752.GI26045@telsasoft.com>

On 2020-Jan-21, Justin Pryzby wrote:

> And I knew that, so (re)tested that the extracted patches would apply, but it
> looks like maybe the patch checker is less smart (or more strict) than git, so
> it didn't work after all.

Honestly, I think we should be scared of a patch applier that ignored
differences in context lines.  After all, that's why those context lines
are there -- so that they provide additional location cues for the lines
being modified.  If you allow random other lines to be there, you could
be inserting stuff in arbitrarily erroneous places.

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





view thread (139+ messages)  latest in thread

Message-ID: <20200122021954.GA5885@alvherre.pgsql>
Permalink:  ../20200122021954.GA5885@alvherre.pgsql/
Also on:    postgresql.org/message-id/20200122021954.GA5885@alvherre.pgsql

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: alvherre@2ndquadrant.com, pryzby@telsasoft.com, masahiko.sawada@2ndquadrant.com, andres@anarazel.de, michael@paquier.xyz
  Subject: Re: error context for vacuum to include block number
  In-Reply-To: <20200122021954.GA5885@alvherre.pgsql>

* 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