From: Bruce Momjian Date: Wed, 21 Mar 2007 21:21:21 +0000 (+0000) Subject: Remove TODO item, not wanted: X-Git-Tag: REL8_3_BETA1~1005 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5fc7ba76dd7e8e599cacf8392e2e5fc12a5a02d3;p=postgresql 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. < --- diff --git a/doc/TODO b/doc/TODO index 3044c8a2ab..40ffbf6bd7 100644 --- a/doc/TODO +++ b/doc/TODO @@ -2,7 +2,7 @@ PostgreSQL TODO List ==================== Current maintainer: Bruce Momjian (bruce@momjian.us) -Last updated: Wed Mar 21 12:43:21 EDT 2007 +Last updated: Wed Mar 21 17:21:13 EDT 2007 The most recent version of this document can be viewed at http://www.postgresql.org/docs/faqs.TODO.html. @@ -185,17 +185,6 @@ Data Types http://archives.postgresql.org/pgsql-hackers/2007-03/msg01181.php * Change NUMERIC to enforce the maximum precision -* 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. - * Fix data types where equality comparison isn't intuitive, e.g. box * Allow user-defined types to specify a type modifier at table creation time diff --git a/doc/src/FAQ/TODO.html b/doc/src/FAQ/TODO.html index 157c0f0e05..3625a87bb3 100644 --- a/doc/src/FAQ/TODO.html +++ b/doc/src/FAQ/TODO.html @@ -8,7 +8,7 @@

PostgreSQL TODO List

Current maintainer: Bruce Momjian (bruce@momjian.us)
-Last updated: Wed Mar 21 12:43:21 EDT 2007 +Last updated: Wed Mar 21 17:21:13 EDT 2007

The most recent version of this document can be viewed at
http://www.postgresql.org/docs/faqs.TODO.html. @@ -168,19 +168,7 @@ first. There is also a developer's wiki at
http://archives.postgresql.org/pgsql-hackers/2007-03/msg01181.php

  • Change NUMERIC to enforce the maximum precision -
  • 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. -

    -