Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bRV5c-0003E2-2a for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Jul 2016 01:53:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bRV5a-00063g-1d for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Jul 2016 01:53:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bRV4D-0004Xr-Vi for pgsql-hackers@postgresql.org; Mon, 25 Jul 2016 01:52:26 +0000 Received: from mail-qk0-x22e.google.com ([2607:f8b0:400d:c09::22e]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bRV44-0004Nc-6l for pgsql-hackers@postgresql.org; Mon, 25 Jul 2016 01:52:25 +0000 Received: by mail-qk0-x22e.google.com with SMTP id s63so144545846qkb.2 for ; Sun, 24 Jul 2016 18:52:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=bfgJQHmwE+YY9uEmuOwS1V+p4clVQkY3GT4+jNZ8s6U=; b=FVS+aDbhruoAuIaXelWpPeQfNyzq4rtDFBLpIHDgWVR5pKivyO1yhVv7lvSq4l6613 0jOcgNqI109X5sFHeiEjgrdqL6owS/H+zeIXxKPrdYPPL8pKik8rX4PtPx/SUksLap35 az01Q6XSzVfMbJ3CI4Xsktj2RVBQigg3hqpbVHvbA+6I4jJdZdec9JNO11+thigVeu/R A9hw3lFRBUZqSckp4e80awP+RpXXV/6p+sObULjRuYTZewZO+g+pXXWOwJjP1Qqj/eOK vMH4/QK9+19dJe0VG2sRhI9Cf/8pFDnebr47MYtYwL+1SPf/VgAQmLoxkSrTOr4/y77T Bq1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=bfgJQHmwE+YY9uEmuOwS1V+p4clVQkY3GT4+jNZ8s6U=; b=JdXfkjxRLVxFzci9VlRjsWPaDebfZvl/DxVpFGXMmHKkDj7KuP1+OFNEzhwxBUr/ze AAjw900BpN5SSTm/TQLMaMMWahHF5FdNMobPmp8Tr7CT2l1yBOeOJM5q/21fo+w2GY4D ynuGcSXwRAc5+3VZ1+Nvae7UPST/WH7fV95hm7YIK31o/IvGITp8EhNA3kighP6KAgBi skOR5X8GO+Hqq9OoaA2CqwkqA2KFLH8lsq+Imja7SyAA7gaYqtQh+dJS2VrYraZp2xo+ pmenUvT8a9/k2fCopwXYkvNAHTyg9v45ubjeaOKZ0xIOo9ItNPE66FqXiOyw9+1HPle4 cjww== X-Gm-Message-State: AEkooutTSPL3fFsXUvxKsAvkAcft7/EZMwMtEN5IYgIorJt1Nroi4SZrmHrRq30Sg9SuDv+u X-Received: by 10.55.163.144 with SMTP id m138mr18584548qke.21.1469411534029; Sun, 24 Jul 2016 18:52:14 -0700 (PDT) Received: from alvin.alvh.no-ip.org ([186.11.9.3]) by smtp.gmail.com with ESMTPSA id a67sm14033789qkc.24.2016.07.24.18.52.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Jul 2016 18:52:13 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id B24B8C15; Sun, 24 Jul 2016 21:52:09 -0400 (CLT) Date: Sun, 24 Jul 2016 21:52:09 -0400 From: Alvaro Herrera To: amborodin@acm.org Cc: Michael Paquier , Amit Kapila , Alexander Korotkov , pgsql-hackers , Oleg Bartunov , Heikki Linnakangas , Sergey Mirvoda Subject: Re: Re: GiST optimizing memmoves in gistplacetopage for fixed-size updates [PoC] Message-ID: <20160725015209.GA240901@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.1 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Andrew Borodin wrote: > >If a feature changes the shape of WAL records, XLOG_PAGE_MAGIC is bumped to prevent any problems. > I've attached patch with a bump, but, obviously, it'll be irrelevant > after any other commit changing WAL shape. > > Here is a patch with updated GiST README. > I haven't found apropriate place to describe PageIndexTupleOverwrite > function in docs, since all it's siblings are described only in the > code. > Code comments describing this function are coherent with others > (PageAddItem, PageIndexTupleDelete). Can you please patch BRIN to use this new function 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