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

Commit0275b3f

Browse files
committed
Update INTERVAL items.
1 parent0ca9148 commit0275b3f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

‎doc/TODO

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
TODO list for PostgreSQL
33
========================
44
Current maintainer:Bruce Momjian (pgman@candle.pha.pa.us)
5-
Last updated:Wed Mar 2321:11:00 EST 2005
5+
Last updated:Wed Mar 2322:50:24 EST 2005
66

77
The most recent version of this document can be viewed at the PostgreSQL web
88
site, http://www.PostgreSQL.org.
@@ -185,9 +185,11 @@ Data Types
185185
o Add support for day-time syntax, INTERVAL '1 2:03:04'
186186
DAY TO SECOND
187187
o Add support for year-month syntax, INTERVAL '50-6' YEAR TO MONTH
188-
o Interpret syntax that isn't uniquely ISO or PG, like '1:30' or
189-
'1' as ISO syntax, e.g. interpret '1:30' MINUTE TO SECOND as
190-
'1 minute 30 seconds'
188+
o For syntax that isn't uniquely ISO or PG syntax, like '1:30' or
189+
'1', treat as ISO if there is a range specification clause,
190+
and as PG if there no clause is present, e.g. interpret '1:30'
191+
MINUTE TO SECOND as '1 minute 30 seconds', and interpret '1:30'
192+
as '1 hour, 30 minutes'
191193
o Interpret INTERVAL '1 year' MONTH as CAST (INTERVAL '1 year' AS
192194
INTERVAL MONTH), and this should return '12 months'
193195
o Round or truncate values to the requested precision, e.g.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp