Skip to content

Commit a11fe54

Browse files
committed
Done:
> * -Prevent to_char() on interval from returning meaningless values
1 parent e202611 commit a11fe54

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/TODO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
PostgreSQL TODO List
33
====================
44
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
5-
Last updated: Tue Aug 9 16:24:23 EDT 2005
5+
Last updated: Thu Aug 18 00:42:37 EDT 2005
66

77
The most recent version of this document can be viewed at
88
http://www.postgresql.org/docs/faqs.TODO.html.
@@ -268,7 +268,7 @@ Functions
268268
o to_char(INTERVAL '43 hours 20 minutes', 'WK:DD:HR:MI') => 0:1:19:20
269269
o to_char(INTERVAL '3 years 5 months','MM') => 41
270270

271-
* Prevent to_char() on interval from returning meaningless values
271+
* -Prevent to_char() on interval from returning meaningless values
272272

273273
For example, to_char('1 month', 'mon') is meaningless. Basically,
274274
most date-related parameters to to_char() are meaningless for

doc/src/FAQ/TODO.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF">
99
<h1><a name="section_1">PostgreSQL TODO List</a></h1>
1010
<p>Current maintainer: Bruce Momjian (<a href="mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<br/>
11-
Last updated: Tue Aug 9 16:24:23 EDT 2005
11+
Last updated: Thu Aug 18 00:42:37 EDT 2005
1212
</p>
1313
<p>The most recent version of this document can be viewed at<br/>
1414
<a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
@@ -252,7 +252,7 @@ <h1><a name="section_5">Functions</a></h1>
252252
</li><li>to_char(INTERVAL '43 hours 20 minutes', 'WK:DD:HR:MI') =&gt; 0:1:19:20
253253
</li><li>to_char(INTERVAL '3 years 5 months','MM') =&gt; 41
254254
</li></ul>
255-
</li><li>Prevent to_char() on interval from returning meaningless values
255+
</li><li>-<em>Prevent to_char() on interval from returning meaningless values</em>
256256
<p> For example, to_char('1 month', 'mon') is meaningless. Basically,
257257
most date-related parameters to to_char() are meaningless for
258258
intervals because interval is not anchored to a date.

0 commit comments

Comments
 (0)