pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: amborodin@acm.org
Cc: Amit Kapila <amit.kapila16@gmail.com>
Cc: Alexander Korotkov <a.korotkov@postgrespro.ru>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: Oleg Bartunov <obartunov@gmail.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Sergey Mirvoda <sergey@mirvoda.com>
Subject: Re: Re: GiST optimizing memmoves in gistplacetopage for fixed-size updates [PoC]
Date: Mon, 4 Jul 2016 13:16:04 -0400
Message-ID: <20160704171604.GA426829@alvherre.pgsql> (raw)
In-Reply-To: <CAJEAwVHmxm6DP75x-1jchR0sPTwBp7BupNu6vccRthE3Qs2rpQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Andrew Borodin wrote:
> Thank you, Amit.
> 
> Currently, if WAL reconstruct page in another order it won't be a problem.

We require that replay of WAL leads to identical bytes than the
original.  Among other things, this enables use of a tool that verifies
that WAL is working correctly simply by comparing page images.  So
please fix it instead of just verifying that this works for GiST.

By the way, BRIN indexes have a need of this operation too.  The current
approach is to call PageIndexDeleteNoCompact followed by PageAddItem.
I suppose it would be beneficial to use your new routine there too.

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


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (36+ messages)  latest in thread

Message-ID: <20160704171604.GA426829@alvherre.pgsql>
Permalink:  ../20160704171604.GA426829@alvherre.pgsql/
Also on:    postgresql.org/message-id/20160704171604.GA426829@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: alvherre@2ndquadrant.com, amborodin@acm.org, amit.kapila16@gmail.com, a.korotkov@postgrespro.ru, obartunov@gmail.com, hlinnaka@iki.fi, sergey@mirvoda.com
  Subject: Re: GiST optimizing memmoves in gistplacetopage for fixed-size updates [PoC]
  In-Reply-To: <20160704171604.GA426829@alvherre.pgsql>
  References: <CAJEAwVHmxm6DP75x-1jchR0sPTwBp7BupNu6vccRthE3Qs2rpQ@mail.gmail.com> <20160704171604.GA426829@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