Skip to content

Commit 8abba63

Browse files
committed
Update wording:
< o Process mixed ANSI/PG syntax, and round value to requested < precision or generate an error < o Interpret INTERVAL '1 year' MONTH as CAST (INTERVAL '1 year' AS < INTERVAL MONTH), and this should return '12 months' 194a191,194 > o Interpret INTERVAL '1 year' MONTH as CAST (INTERVAL '1 year' AS > INTERVAL MONTH), and this should return '12 months' > o Round or truncate values to the requested precision, e.g. > INTERVAL '11 months' AS YEAR should return one or zero
1 parent d5dd9db commit 8abba63

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/TODO

Lines changed: 5 additions & 5 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:49:42 EST 2005
5+
Last updated: Wed Mar 23 17:57:00 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,13 +185,13 @@ 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 Process mixed ANSI/PG syntax, and round value to requested
189-
precision or generate an error
190-
o Interpret INTERVAL '1 year' MONTH as CAST (INTERVAL '1 year' AS
191-
INTERVAL MONTH), and this should return '12 months'
192188
o Interpret syntax that isn't uniquely ANSI or PG, like '1:30' or
193189
'1' as ANSI syntax, e.g. interpret '1:30' MINUTE TO SECOND as
194190
'1 minute 30 seconds'
191+
o Interpret INTERVAL '1 year' MONTH as CAST (INTERVAL '1 year' AS
192+
INTERVAL MONTH), and this should return '12 months'
193+
o Round or truncate values to the requested precision, e.g.
194+
INTERVAL '11 months' AS YEAR should return one or zero
195195
o Support precision, CREATE TABLE foo (a INTERVAL MONTH(3))
196196

197197
* ARRAYS

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy