|
8 | 8 | <body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF">
|
9 | 9 | <h1><a name="section_1">PostgreSQL TODO List</a></h1>
|
10 | 10 | <p>Current maintainer: Bruce Momjian (<a href="mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<br/>
|
11 |
| -Last updated: Fri Jun 24 17:28:23 EDT 2005 |
| 11 | +Last updated: Fri Jun 24 21:32:02 EDT 2005 |
12 | 12 | </p>
|
13 | 13 | <p>The most recent version of this document can be viewed at<br/>
|
14 | 14 | <a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
|
@@ -142,7 +142,19 @@ <h1><a name="section_3">Data Types</a></h1>
|
142 | 142 | <ul>
|
143 | 143 | <li>Remove Money type, add money formatting for decimal type
|
144 | 144 | </li><li>Change NUMERIC to enforce the maximum precision, and increase it
|
145 |
| - </li><li>Add function to return compressed length of TOAST data values |
| 145 | + </li><li>Add NUMERIC division operator that doesn't round? |
| 146 | +<p> Currently NUMERIC _rounds_ the result to the specified precision. |
| 147 | + This means division can return a result that multiplied by the |
| 148 | + divisor is greater than the dividend, e.g. this returns a value > 10: |
| 149 | +</p> |
| 150 | +</li></ul> |
| 151 | +<p> SELECT (10::numeric(2,0) / 6::numeric(2,0))::numeric(2,0) * 6; |
| 152 | +</p> |
| 153 | +<p> The positive modulus result returned by NUMERICs might be considered<br/> |
| 154 | + inaccurate, in one sense. |
| 155 | +</p> |
| 156 | +<ul> |
| 157 | + <li>Add function to return compressed length of TOAST data values |
146 | 158 | </li><li>Allow INET subnet tests using non-constants to be indexed
|
147 | 159 | </li><li>Add transaction_timestamp(), statement_timestamp(), clock_timestamp()
|
148 | 160 | functionality
|
|
0 commit comments