pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Minor cleanup/code review for "indirect toast" stuff.
3+ messages / 2 participants
[nested] [flat]

* pgsql: Minor cleanup/code review for "indirect toast" stuff.
@ 2015-02-09 17:31 Tom Lane <tgl@sss.pgh.pa.us>
  2015-02-10 03:16 ` Re: pgsql: Minor cleanup/code review for "indirect toast" stuff. Fujii Masao <masao.fujii@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2015-02-09 17:31 UTC (permalink / raw)
  To: pgsql-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
------
master

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

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


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


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql: Minor cleanup/code review for "indirect toast" stuff.
  2015-02-09 17:31 pgsql: Minor cleanup/code review for "indirect toast" stuff. Tom Lane <tgl@sss.pgh.pa.us>
@ 2015-02-10 03:16 ` Fujii Masao <masao.fujii@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Fujii Masao @ 2015-02-10 03:16 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers

On Tue, Feb 10, 2015 at 2:31 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> In HEAD, also correct some really minor issues with recent compression
> reorganization, such as dangerously underparenthesized macros.

Oh,, thanks!

Regards,

-- 
Fujii Masao


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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Minor cleanup/code review for "indirect toast" stuff.
@ 2015-02-09 17:31 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2015-02-09 17:31 UTC (permalink / raw)
  To: pgsql-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


^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2015-02-10 03:16 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-02-09 17:31 pgsql: Minor cleanup/code review for "indirect toast" stuff. Tom Lane <tgl@sss.pgh.pa.us>
2015-02-10 03:16 ` Fujii Masao <masao.fujii@gmail.com>
2015-02-09 17:31 pgsql: Minor cleanup/code review for "indirect toast" stuff. Tom Lane <tgl@sss.pgh.pa.us>

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