File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 19291929 2017-01-17 [323b96aa3] Register missing money operators in system catalogs
19301930 -->
19311931 <para>
1932- Add <link linkend="datatype-money"><type>MONEY</></> operators
1933- for multiplication and division with <type>INT8</> values (Peter
1934- Eisentraut)
1932+ Add operators for multiplication and division
1933+ of <link linkend="datatype-money"><type>money</></link> values
1934+ with <type>int8</> values (Peter Eisentraut)
1935+ </para>
1936+
1937+ <para>
1938+ Previously such cases would result in converting the <type>int8</>
1939+ values to <type>float8</> and then using
1940+ the <type>money</>-and-<type>float8</> operators. The new behavior
1941+ avoids possible precision loss. But note that division
1942+ of <type>money</> by <type>int8</> now truncates the quotient, like
1943+ other integer-division cases, while the previous behavior would have
1944+ rounded.
19351945 </para>
19361946 </listitem>
19371947
19411951 2016-09-14 [656df624c] Add overflow checks to money type input function
19421952 -->
19431953 <para>
1944- More strictly check the <type>MONEY </> type for overflow operations
1954+ More strictly check the <type>money </> type for overflow operations
19451955 (Peter Eisentraut)
19461956 </para>
19471957 </listitem>
You can’t perform that action at this time.
0 commit comments