[COMMITTERS] pgsql: Fix potential data corruption during freeze

2017-07-06 Thread Teodor Sigaev
Fix potential data corruption during freeze Fix oversight in 3b97e6823b94 bug fix. Bitwise AND is used instead of OR and it cleans all bits in t_infomask heap tuple field. Backpatch to 9.3 Branch -- REL9_3_STABLE Details --- https://git.postgresql.org/pg/commitdiff/f371cc9e9fffc79ab6818

[COMMITTERS] pgsql: Fix potential data corruption during freeze

2017-07-06 Thread Teodor Sigaev
Fix potential data corruption during freeze Fix oversight in 3b97e6823b94 bug fix. Bitwise AND is used instead of OR and it cleans all bits in t_infomask heap tuple field. Backpatch to 9.3 Branch -- REL9_4_STABLE Details --- https://git.postgresql.org/pg/commitdiff/b90e4ca3edfd60309e4bc

[COMMITTERS] pgsql: Fix potential data corruption during freeze

2017-07-06 Thread Teodor Sigaev
Fix potential data corruption during freeze Fix oversight in 3b97e6823b94 bug fix. Bitwise AND is used instead of OR and it cleans all bits in t_infomask heap tuple field. Backpatch to 9.3 Branch -- REL9_5_STABLE Details --- https://git.postgresql.org/pg/commitdiff/fb2d385e6521c221f2d66

[COMMITTERS] pgsql: Fix potential data corruption during freeze

2017-07-06 Thread Teodor Sigaev
Fix potential data corruption during freeze Fix oversight in 3b97e6823b94 bug fix. Bitwise AND is used instead of OR and it cleans all bits in t_infomask heap tuple field. Backpatch to 9.3 Branch -- REL9_6_STABLE Details --- https://git.postgresql.org/pg/commitdiff/42f62e4c976e1cf90f5e5

[COMMITTERS] pgsql: Fix potential data corruption during freeze

2017-07-06 Thread Teodor Sigaev
Fix potential data corruption during freeze Fix oversight in 3b97e6823b94 bug fix. Bitwise AND is used instead of OR and it cleans all bits in t_infomask heap tuple field. Backpatch to 9.3 Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/31b8db8e6c1fa4436116f4be5ca7

[COMMITTERS] pgsql: Clarify the contract of partition_rbound_cmp().

2017-07-06 Thread Dean Rasheed
Clarify the contract of partition_rbound_cmp(). partition_rbound_cmp() is intended to compare range partition bounds in a way such that if all the bound values are equal but one is an upper bound and one is a lower bound, the upper bound is treated as smaller than the lower bound. This particular

[COMMITTERS] pgsql: Simplify the logic checking new range partition bounds.

2017-07-06 Thread Dean Rasheed
Simplify the logic checking new range partition bounds. The previous logic, whilst not actually wrong, was overly complex and involved doing two binary searches, where only one was really necessary. This simplifies that logic and improves the comments. One visible change is that if the new partit