[COMMITTERS] pgsql: Correct StartupSUBTRANS for page wraparound

2016-02-19 Thread Simon Riggs
Correct StartupSUBTRANS for page wraparound

StartupSUBTRANS() incorrectly handled cases near the max pageid in the subtrans
data structure, which in some cases could lead to errors in startup for Hot
Standby.
This patch wraps the pageids correctly, avoiding any such errors.
Identified by exhaustive crash testing by Jeff Janes.

Jeff Janes

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/481725c0ba731b77fb32cadb12013373e378011a

Modified Files
--
src/backend/access/transam/subtrans.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)


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


[COMMITTERS] pgsql: Correct StartupSUBTRANS for page wraparound

2016-02-19 Thread Simon Riggs
Correct StartupSUBTRANS for page wraparound

StartupSUBTRANS() incorrectly handled cases near the max pageid in the subtrans
data structure, which in some cases could lead to errors in startup for Hot
Standby.
This patch wraps the pageids correctly, avoiding any such errors.
Identified by exhaustive crash testing by Jeff Janes.

Jeff Janes

Branch
--
REL9_4_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/6830cae5f862276a52dc8a50edf1d34996539a3c

Modified Files
--
src/backend/access/transam/subtrans.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)


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


[COMMITTERS] pgsql: Correct StartupSUBTRANS for page wraparound

2016-02-19 Thread Simon Riggs
Correct StartupSUBTRANS for page wraparound

StartupSUBTRANS() incorrectly handled cases near the max pageid in the subtrans
data structure, which in some cases could lead to errors in startup for Hot
Standby.
This patch wraps the pageids correctly, avoiding any such errors.
Identified by exhaustive crash testing by Jeff Janes.

Jeff Janes

Branch
--
REL9_5_STABLE

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

Modified Files
--
src/backend/access/transam/subtrans.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)


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


[COMMITTERS] pgsql: Correct StartupSUBTRANS for page wraparound

2016-02-19 Thread Simon Riggs
Correct StartupSUBTRANS for page wraparound

StartupSUBTRANS() incorrectly handled cases near the max pageid in the subtrans
data structure, which in some cases could lead to errors in startup for Hot
Standby.
This patch wraps the pageids correctly, avoiding any such errors.
Identified by exhaustive crash testing by Jeff Janes.

Jeff Janes

Branch
--
REL9_1_STABLE

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

Modified Files
--
src/backend/access/transam/subtrans.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)


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


[COMMITTERS] pgsql: Correct StartupSUBTRANS for page wraparound

2016-02-19 Thread Simon Riggs
Correct StartupSUBTRANS for page wraparound

StartupSUBTRANS() incorrectly handled cases near the max pageid in the subtrans
data structure, which in some cases could lead to errors in startup for Hot
Standby.
This patch wraps the pageids correctly, avoiding any such errors.
Identified by exhaustive crash testing by Jeff Janes.

Jeff Janes

Branch
--
REL9_2_STABLE

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

Modified Files
--
src/backend/access/transam/subtrans.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)


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


[COMMITTERS] pgsql: Correct StartupSUBTRANS for page wraparound

2016-02-19 Thread Simon Riggs
Correct StartupSUBTRANS for page wraparound

StartupSUBTRANS() incorrectly handled cases near the max pageid in the subtrans
data structure, which in some cases could lead to errors in startup for Hot
Standby.
This patch wraps the pageids correctly, avoiding any such errors.
Identified by exhaustive crash testing by Jeff Janes.

Jeff Janes

Branch
--
REL9_3_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/71e3cff2e5956f3edf6d99039dab0424eb82be94

Modified Files
--
src/backend/access/transam/subtrans.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)


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


[COMMITTERS] pgsql: Call xlc __isync() after, not before, associated compare-and-swa

2016-02-19 Thread Noah Misch
Call xlc __isync() after, not before, associated compare-and-swap.

Architecture reference material specifies this order, and s_lock.h
inline assembly agrees.  The former order failed to provide mutual
exclusion to lwlock.c and perhaps to other clients.  The two xlc
buildfarm members, hornet and mandrill, have failed sixteen times with
duplicate key errors involving pg_class_oid_index or pg_type_oid_index.
Back-patch to 9.5, where commit b64d92f1a5602c55ee8b27a7ac474f03b7aee340
introduced atomics.

Reviewed by Andres Freund and Tom Lane.

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/5882ca66868e1f6fe287dfb41ebaab0bcb1784b2

Modified Files
--
src/bin/pgbench/.gitignore |  1 +
src/bin/pgbench/Makefile   |  6 ++
src/bin/pgbench/t/001_pgbench.pl   | 25 +
src/include/port/atomics/generic-xlc.h | 22 ++
src/tools/msvc/clean.bat   |  1 +
5 files changed, 47 insertions(+), 8 deletions(-)


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


[COMMITTERS] pgsql: Call xlc __isync() after, not before, associated compare-and-swa

2016-02-19 Thread Noah Misch
Call xlc __isync() after, not before, associated compare-and-swap.

Architecture reference material specifies this order, and s_lock.h
inline assembly agrees.  The former order failed to provide mutual
exclusion to lwlock.c and perhaps to other clients.  The two xlc
buildfarm members, hornet and mandrill, have failed sixteen times with
duplicate key errors involving pg_class_oid_index or pg_type_oid_index.
Back-patch to 9.5, where commit b64d92f1a5602c55ee8b27a7ac474f03b7aee340
introduced atomics.

Reviewed by Andres Freund and Tom Lane.

Branch
--
REL9_5_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/377a1af56a5ad6e5c47e0a5141abbd912169f750

Modified Files
--
src/bin/pgbench/.gitignore |  1 +
src/bin/pgbench/Makefile   |  6 ++
src/bin/pgbench/t/001_pgbench.pl   | 24 
src/include/port/atomics/generic-xlc.h | 22 ++
src/tools/msvc/clean.bat   |  1 +
5 files changed, 46 insertions(+), 8 deletions(-)


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


[COMMITTERS] pgsql: doc: Improve CSS style of option element

2016-02-19 Thread Peter Eisentraut
doc: Improve CSS style of option element

Prevent wrapping of the element content to avoid confusing line breaks
between hyphens.

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/091b6055e3e52338850370f17835e833ca66ac55

Modified Files
--
doc/src/sgml/stylesheet.css | 2 ++
1 file changed, 2 insertions(+)


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