[COMMITTERS] pgsql: Fix wording of logical decoding concepts

2016-09-03 Thread Simon Riggs
Fix wording of logical decoding concepts Be specific about conditions under which we emit >1 copy of message Craig Ringer Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/0c40ab3a88edf654165e562deee0c303a6ebef5e Modified Files -- doc/src/sgml/logicaldeco

[COMMITTERS] pgsql: Fix wording of logical decoding concepts

2016-09-03 Thread Simon Riggs
Fix wording of logical decoding concepts Be specific about conditions under which we emit >1 copy of message Craig Ringer Branch -- REL9_6_STABLE Details --- http://git.postgresql.org/pg/commitdiff/33befe035d86d833a5bc7289612722a4e650227d Modified Files -- doc/src/sgml/logi

[COMMITTERS] pgsql: New recovery target recovery_target_lsn

2016-09-03 Thread Simon Riggs
New recovery target recovery_target_lsn Michael Paquier Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/35250b6ad7a8ece5cfe54c0316c180df19f36c13 Modified Files -- doc/src/sgml/recovery-config.sgml | 24 +++-- src/backend/access/transam/r

[COMMITTERS] pgsql: Fix corrupt GIN_SEGMENT_ADDITEMS WAL records on big-endian hardw

2016-09-03 Thread Tom Lane
Fix corrupt GIN_SEGMENT_ADDITEMS WAL records on big-endian hardware. computeLeafRecompressWALData() tried to produce a uint16 WAL log field by memcpy'ing the first two bytes of an int-sized variable. That accidentally works on little-endian hardware, but not at all on big-endian. Replay then thi

[COMMITTERS] pgsql: Fix corrupt GIN_SEGMENT_ADDITEMS WAL records on big-endian hardw

2016-09-03 Thread Tom Lane
Fix corrupt GIN_SEGMENT_ADDITEMS WAL records on big-endian hardware. computeLeafRecompressWALData() tried to produce a uint16 WAL log field by memcpy'ing the first two bytes of an int-sized variable. That accidentally works on little-endian hardware, but not at all on big-endian. Replay then thi

[COMMITTERS] pgsql: Fix corrupt GIN_SEGMENT_ADDITEMS WAL records on big-endian hardw

2016-09-03 Thread Tom Lane
Fix corrupt GIN_SEGMENT_ADDITEMS WAL records on big-endian hardware. computeLeafRecompressWALData() tried to produce a uint16 WAL log field by memcpy'ing the first two bytes of an int-sized variable. That accidentally works on little-endian hardware, but not at all on big-endian. Replay then thi

[COMMITTERS] pgsql: Fix corrupt GIN_SEGMENT_ADDITEMS WAL records on big-endian hardw

2016-09-03 Thread Tom Lane
Fix corrupt GIN_SEGMENT_ADDITEMS WAL records on big-endian hardware. computeLeafRecompressWALData() tried to produce a uint16 WAL log field by memcpy'ing the first two bytes of an int-sized variable. That accidentally works on little-endian hardware, but not at all on big-endian. Replay then thi

[COMMITTERS] pgsql: Fix multiple bugs in numeric_poly_deserialize().

2016-09-03 Thread Tom Lane
Fix multiple bugs in numeric_poly_deserialize(). These were evidently introduced by yesterday's commit 9cca11c91, which perhaps needs more review than it got. Per report from Andreas Seltenreich and additional examination of nearby code. Report: <[email protected]> Branch -- master

[COMMITTERS] pgsql: Improve readability of the output of psql's \timing command.

2016-09-03 Thread Tom Lane
Improve readability of the output of psql's \timing command. In addition to the existing decimal-milliseconds output value, display the same value in mm:ss.fff format if it exceeds one second. Tack on hours and even days fields if the interval is large enough. This avoids needing mental arithmetic