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

Commitd5dd9db

Browse files
committed
Update item on ambiguous INTERVAL syntax:
< o Add support for day-time syntax, INTERVAL '1 2:03:04'> o Add support for day-time syntax, INTERVAL '1 2:03:04'192c192,194< o Interpret INTERVAL '1:30' MINUTE TO SECOND as '1 minute 30 seconds'> o Interpret syntax that isn't uniquely ANSI or PG, like '1:30' or> '1' as ANSI syntax, e.g. interpret '1:30' MINUTE TO SECOND as> '1 minute 30 seconds'
1 parenta15699b commitd5dd9db

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎doc/TODO

Lines changed: 5 additions & 3 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 23 16:09:58 EST 2005
5+
Last updated:Wed Mar 23 16:49:42 EST 2005
66

77
The most recent version of this document can be viewed at the PostgreSQL web
88
site, http://www.PostgreSQL.org.
@@ -182,14 +182,16 @@ Data Types
182182
* Prevent INET cast to CIDR from droping netmask, SELECT '1.1.1.1'::inet::cidr
183183
* Add 'tid != tid ' operator for use in corruption recovery
184184
* Add ANSI INTERVAL handling
185-
o Add support for day-time syntax, INTERVAL '1 2:03:04'
185+
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
188188
o Process mixed ANSI/PG syntax, and round value to requested
189189
precision or generate an error
190190
o Interpret INTERVAL '1 year' MONTH as CAST (INTERVAL '1 year' AS
191191
INTERVAL MONTH), and this should return '12 months'
192-
o Interpret INTERVAL '1:30' MINUTE TO SECOND as '1 minute 30 seconds'
192+
o Interpret syntax that isn't uniquely ANSI or PG, like '1:30' or
193+
'1' as ANSI syntax, e.g. interpret '1:30' MINUTE TO SECOND as
194+
'1 minute 30 seconds'
193195
o Support precision, CREATE TABLE foo (a INTERVAL MONTH(3))
194196

195197
* ARRAYS

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp