[COMMITTERS] pgsql: Fix contrib/sepgsql regression tests for partition NOT NULL chan

2017-05-21 Thread Tom Lane
Fix contrib/sepgsql regression tests for partition NOT NULL change. Commit 3ec76ff1f changed the partitioning logic to not install a forced NOT NULL constraint on range partitioning columns. This affects the expected output for contrib/sepgsql, because there's no longer LOG entries reporting allo

[COMMITTERS] pgsql: Fix precision and rounding issues in money multiplication and di

2017-05-21 Thread Tom Lane
Fix precision and rounding issues in money multiplication and division. The cash_div_intX functions applied rint() to the result of the division. That's not merely useless (because the result is already an integer) but it causes precision loss for values larger than 2^52 or so, because of the forc

[COMMITTERS] pgsql: Fix precision and rounding issues in money multiplication and di

2017-05-21 Thread Tom Lane
Fix precision and rounding issues in money multiplication and division. The cash_div_intX functions applied rint() to the result of the division. That's not merely useless (because the result is already an integer) but it causes precision loss for values larger than 2^52 or so, because of the forc

[COMMITTERS] pgsql: Fix precision and rounding issues in money multiplication and di

2017-05-21 Thread Tom Lane
Fix precision and rounding issues in money multiplication and division. The cash_div_intX functions applied rint() to the result of the division. That's not merely useless (because the result is already an integer) but it causes precision loss for values larger than 2^52 or so, because of the forc

[COMMITTERS] pgsql: Fix precision and rounding issues in money multiplication and di

2017-05-21 Thread Tom Lane
Fix precision and rounding issues in money multiplication and division. The cash_div_intX functions applied rint() to the result of the division. That's not merely useless (because the result is already an integer) but it causes precision loss for values larger than 2^52 or so, because of the forc

[COMMITTERS] pgsql: Fix precision and rounding issues in money multiplication and di

2017-05-21 Thread Tom Lane
Fix precision and rounding issues in money multiplication and division. The cash_div_intX functions applied rint() to the result of the division. That's not merely useless (because the result is already an integer) but it causes precision loss for values larger than 2^52 or so, because of the forc

[COMMITTERS] pgsql: Fix precision and rounding issues in money multiplication and di

2017-05-21 Thread Tom Lane
Fix precision and rounding issues in money multiplication and division. The cash_div_intX functions applied rint() to the result of the division. That's not merely useless (because the result is already an integer) but it causes precision loss for values larger than 2^52 or so, because of the forc