Обсуждение: pgsql: Remove TODO item, not wanted: < * Add NUMERIC division operator

Поиск
Список
Период
Сортировка

pgsql: Remove TODO item, not wanted: < * Add NUMERIC division operator

От
momjian@postgresql.org (Bruce Momjian)
Дата:
Log Message:
-----------
Remove TODO item, not wanted:

< * Add NUMERIC division operator that doesn't round?
<
<   Currently NUMERIC _rounds_ the result to the specified precision.
<   This means division can return a result that multiplied by the
<   divisor is greater than the dividend, e.g. this returns a value > 10:
<
<     SELECT (10::numeric(2,0) / 6::numeric(2,0))::numeric(2,0) * 6;
<
<   The positive modulus result returned by NUMERICs might be considered
<   inaccurate, in one sense.
<

Modified Files:
--------------
    pgsql/doc:
        TODO (r1.2124 -> r1.2125)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/TODO.diff?r1=1.2124&r2=1.2125)
    pgsql/doc/src/FAQ:
        TODO.html (r1.625 -> r1.626)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/FAQ/TODO.html.diff?r1=1.625&r2=1.626)