mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-01 22:11:21 +02:00
Done:
> * -Prevent to_char() on interval from returning meaningless values
This commit is contained in:
parent
e20261128d
commit
a11fe54507
4
doc/TODO
4
doc/TODO
@ -2,7 +2,7 @@
|
|||||||
PostgreSQL TODO List
|
PostgreSQL TODO List
|
||||||
====================
|
====================
|
||||||
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
|
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
|
||||||
Last updated: Tue Aug 9 16:24:23 EDT 2005
|
Last updated: Thu Aug 18 00:42:37 EDT 2005
|
||||||
|
|
||||||
The most recent version of this document can be viewed at
|
The most recent version of this document can be viewed at
|
||||||
http://www.postgresql.org/docs/faqs.TODO.html.
|
http://www.postgresql.org/docs/faqs.TODO.html.
|
||||||
@ -268,7 +268,7 @@ Functions
|
|||||||
o to_char(INTERVAL '43 hours 20 minutes', 'WK:DD:HR:MI') => 0:1:19:20
|
o to_char(INTERVAL '43 hours 20 minutes', 'WK:DD:HR:MI') => 0:1:19:20
|
||||||
o to_char(INTERVAL '3 years 5 months','MM') => 41
|
o to_char(INTERVAL '3 years 5 months','MM') => 41
|
||||||
|
|
||||||
* Prevent to_char() on interval from returning meaningless values
|
* -Prevent to_char() on interval from returning meaningless values
|
||||||
|
|
||||||
For example, to_char('1 month', 'mon') is meaningless. Basically,
|
For example, to_char('1 month', 'mon') is meaningless. Basically,
|
||||||
most date-related parameters to to_char() are meaningless for
|
most date-related parameters to to_char() are meaningless for
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF">
|
<body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF">
|
||||||
<h1><a name="section_1">PostgreSQL TODO List</a></h1>
|
<h1><a name="section_1">PostgreSQL TODO List</a></h1>
|
||||||
<p>Current maintainer: Bruce Momjian (<a href="mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<br/>
|
<p>Current maintainer: Bruce Momjian (<a href="mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<br/>
|
||||||
Last updated: Tue Aug 9 16:24:23 EDT 2005
|
Last updated: Thu Aug 18 00:42:37 EDT 2005
|
||||||
</p>
|
</p>
|
||||||
<p>The most recent version of this document can be viewed at<br/>
|
<p>The most recent version of this document can be viewed at<br/>
|
||||||
<a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
|
<a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
|
||||||
@ -252,7 +252,7 @@ first.
|
|||||||
</li><li>to_char(INTERVAL '43 hours 20 minutes', 'WK:DD:HR:MI') => 0:1:19:20
|
</li><li>to_char(INTERVAL '43 hours 20 minutes', 'WK:DD:HR:MI') => 0:1:19:20
|
||||||
</li><li>to_char(INTERVAL '3 years 5 months','MM') => 41
|
</li><li>to_char(INTERVAL '3 years 5 months','MM') => 41
|
||||||
</li></ul>
|
</li></ul>
|
||||||
</li><li>Prevent to_char() on interval from returning meaningless values
|
</li><li>-<em>Prevent to_char() on interval from returning meaningless values</em>
|
||||||
<p> For example, to_char('1 month', 'mon') is meaningless. Basically,
|
<p> For example, to_char('1 month', 'mon') is meaningless. Basically,
|
||||||
most date-related parameters to to_char() are meaningless for
|
most date-related parameters to to_char() are meaningless for
|
||||||
intervals because interval is not anchored to a date.
|
intervals because interval is not anchored to a date.
|
||||||
|
Loading…
Reference in New Issue
Block a user