pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Minor cleanup/code review for "indirect toast" stuff.
Date: Mon, 09 Feb 2015 17:31:05 +0000
Message-ID: <E1YKsAr-0001Xs-Se@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Minor cleanup/code review for "indirect toast" stuff.

Fix some issues I noticed while fooling with an extension to allow an
additional kind of toast pointer.  Much of this is just comment
improvement, but there are a couple of actual bugs, which might or might
not be reachable today depending on what can happen during logical
decoding.  An example is that toast_flatten_tuple() failed to cover the
possibility of an indirection pointer in its input.  Back-patch to 9.4
just in case that is reachable now.

In HEAD, also correct some really minor issues with recent compression
reorganization, such as dangerously underparenthesized macros.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/ccf655c446d9b2de98455cf29f27795e0e067779

Modified Files
--------------
src/backend/access/heap/tuptoaster.c |   53 ++++++++++++++++++++++++----------
src/include/access/tuptoaster.h      |    6 ++--
src/include/postgres.h               |   37 ++++++++++++------------
3 files changed, 59 insertions(+), 37 deletions(-)


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


view thread (3+ messages)  latest in thread

Message-ID: <E1YKsAr-0001Xs-Se@gemulon.postgresql.org>
Permalink:  ../E1YKsAr-0001Xs-Se@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1YKsAr-0001Xs-Se@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Minor cleanup/code review for "indirect toast" stuff.
  In-Reply-To: <E1YKsAr-0001Xs-Se@gemulon.postgresql.org>
  References: <E1YKsAr-0001Xs-Se@gemulon.postgresql.org>

* 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