Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit807da29

Browse files
committed
Add items from Tom:
< o Add a GUC variable to allow output of interval values in ISO8601< format212a211,223> o Add a GUC variable to allow output of interval values in ISO8601> format> o Improve timestamptz subtraction to be DST-aware>> Currently, subtracting one date from another that crosses a> daylight savings time adjustment can return '1 day 1 hour', but> adding that back to the first date returns a time one hour in> the future. This is caused by the adjustment of '25 hours' to> '1 day 1 hour', and '1 day' is the same time the next day, even> if daylight savings adjustments are involved.>> o Fix interval display to support values exceeding 2^31 hours> o Add overflow checking to timestamp and interval arithmetic
1 parent4a309de commit807da29

File tree

2 files changed

+27
-6
lines changed

2 files changed

+27
-6
lines changed

‎doc/TODO

Lines changed: 14 additions & 3 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 Oct25 14:50:55 EDT 2005
5+
Last updated:Wed Oct26 22:33:29 EDT 2005
66

77
The most recent version of this document can be viewed at
88
http://www.postgresql.org/docs/faqs.TODO.html.
@@ -196,8 +196,6 @@ Data Types
196196
* Dates and Times
197197

198198
o Allow infinite dates just like infinite timestamps
199-
o Add a GUC variable to allow output of interval values in ISO8601
200-
format
201199
o Merge hardwired timezone names with the TZ database; allow either
202200
kind everywhere a TZ name is currently taken
203201
o Allow customization of the known set of TZ names (generalize the
@@ -210,6 +208,19 @@ Data Types
210208

211209
o Fix SELECT '0.01 years'::interval, '0.01 months'::interval
212210
o Fix SELECT INTERVAL '1' MONTH
211+
o Add a GUC variable to allow output of interval values in ISO8601
212+
format
213+
o Improve timestamptz subtraction to be DST-aware
214+
215+
Currently, subtracting one date from another that crosses a
216+
daylight savings time adjustment can return '1 day 1 hour', but
217+
adding that back to the first date returns a time one hour in
218+
the future. This is caused by the adjustment of '25 hours' to
219+
'1 day 1 hour', and '1 day' is the same time the next day, even
220+
if daylight savings adjustments are involved.
221+
222+
o Fix interval display to support values exceeding 2^31 hours
223+
o Add overflow checking to timestamp and interval arithmetic
213224
o Add ISO INTERVAL handling
214225
o Add support for day-time syntax, INTERVAL '1 2:03:04' DAY TO
215226
SECOND

‎doc/src/FAQ/TODO.html

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<bodybgcolor="#FFFFFF"text="#000000"link="#FF0000"vlink="#A00000"alink="#0000FF">
99
<h1><aname="section_1">PostgreSQL TODO List</a></h1>
1010
<p>Current maintainer: Bruce Momjian (<ahref="mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<br/>
11-
Last updated:Tue Oct25 14:50:55 EDT 2005
11+
Last updated:Wed Oct26 22:33:29 EDT 2005
1212
</p>
1313
<p>The most recent version of this document can be viewed at<br/>
1414
<ahref="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
@@ -181,8 +181,6 @@ <h1><a name="section_4">Data Types</a></h1>
181181
</li><li>Dates and Times
182182
<ul>
183183
<li>Allow infinite dates just like infinite timestamps
184-
</li><li>Add a GUC variable to allow output of interval values in ISO8601
185-
format
186184
</li><li>Merge hardwired timezone names with the TZ database; allow either
187185
kind everywhere a TZ name is currently taken
188186
</li><li>Allow customization of the known set of TZ names (generalize the
@@ -194,6 +192,18 @@ <h1><a name="section_4">Data Types</a></h1>
194192
</p>
195193
</li><li>Fix SELECT '0.01 years'::interval, '0.01 months'::interval
196194
</li><li>Fix SELECT INTERVAL '1' MONTH
195+
</li><li>Add a GUC variable to allow output of interval values in ISO8601
196+
format
197+
</li><li>Improve timestamptz subtraction to be DST-aware
198+
<p> Currently, subtracting one date from another that crosses a
199+
daylight savings time adjustment can return '1 day 1 hour', but
200+
adding that back to the first date returns a time one hour in
201+
the future. This is caused by the adjustment of '25 hours' to
202+
'1 day 1 hour', and '1 day' is the same time the next day, even
203+
if daylight savings adjustments are involved.
204+
</p>
205+
</li><li>Fix interval display to support values exceeding 2^31 hours
206+
</li><li>Add overflow checking to timestamp and interval arithmetic
197207
</li><li>Add ISO INTERVAL handling
198208
<ul>
199209
<li>Add support for day-time syntax, INTERVAL '1 2:03:04' DAY TO

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp