Word wrap entry

This commit is contained in:
Bruce Momjian 2006-04-25 00:06:23 +00:00
parent c880f9aeb2
commit f04080d73b
2 changed files with 30 additions and 30 deletions

View File

@ -2,7 +2,7 @@
PostgreSQL TODO List PostgreSQL TODO List
==================== ====================
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us) Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
Last updated: Mon Apr 24 20:00:38 EDT 2006 Last updated: Mon Apr 24 20:06:13 EDT 2006
The most recent version of this document can be viewed at The most recent version of this document can be viewed at
http://www.postgresql.org/docs/faqs.TODO.html. http://www.postgresql.org/docs/faqs.TODO.html.
@ -244,24 +244,24 @@ Data Types
o Support ISO INTERVAL syntax if units cannot be determined from o Support ISO INTERVAL syntax if units cannot be determined from
the string, and are supplied after the string the string, and are supplied after the string
The SQL standard states that the units after the string specify The SQL standard states that the units after the string
the units of the string, e.g. INTERVAL '2' MINUTE should specify the units of the string, e.g. INTERVAL '2' MINUTE
return '00:02:00'. The current behavior has the units should return '00:02:00'. The current behavior has the units
restrict the interval value to the specified unit or unit range, restrict the interval value to the specified unit or unit
INTERVAL '70' SECOND returns '00:00:10'. range, INTERVAL '70' SECOND returns '00:00:10'.
For syntax that isn't uniquely ISO or PG syntax, like '1' or For syntax that isn't uniquely ISO or PG syntax, like '1' or
'1:30', treat as ISO if there is a range specification clause, '1:30', treat as ISO if there is a range specification clause,
and as PG if there no clause is present, e.g. interpret and as PG if there no clause is present, e.g. interpret '1:30'
'1:30' MINUTE TO SECOND as '1 minute 30 seconds', and MINUTE TO SECOND as '1 minute 30 seconds', and interpret
interpret '1:30' as '1 hour, 30 minutes'. '1:30' as '1 hour, 30 minutes'.
This makes common cases like SELECT INTERVAL '1' MONTH This makes common cases like SELECT INTERVAL '1' MONTH
SQL-standard results. The SQL standard supports a limited SQL-standard results. The SQL standard supports a limited
number of unit combinations and doesn't support unit names number of unit combinations and doesn't support unit names in
in the string. The PostgreSQL syntax is more flexible in the string. The PostgreSQL syntax is more flexible in the
the range of units supported, e.g. PostgreSQL supports range of units supported, e.g. PostgreSQL supports '1 year 1
'1 year 1 hour', while the SQL standard does not. hour', while the SQL standard does not.
o Add support for year-month syntax, INTERVAL '50-6' YEAR TO MONTH o Add support for year-month syntax, INTERVAL '50-6' YEAR TO MONTH
o Interpret INTERVAL '1 year' MONTH as CAST (INTERVAL '1 year' AS o Interpret INTERVAL '1 year' MONTH as CAST (INTERVAL '1 year' AS

View File

@ -8,7 +8,7 @@
<body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF"> <body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF">
<h1><a name="section_1">PostgreSQL TODO List</a></h1> <h1><a name="section_1">PostgreSQL TODO List</a></h1>
<p>Current maintainer: Bruce Momjian (<a href="mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<br/> <p>Current maintainer: Bruce Momjian (<a href="mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<br/>
Last updated: Mon Apr 24 20:00:38 EDT 2006 Last updated: Mon Apr 24 20:06:13 EDT 2006
</p> </p>
<p>The most recent version of this document can be viewed at<br/> <p>The most recent version of this document can be viewed at<br/>
<a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>. <a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
@ -225,24 +225,24 @@ first.
SECOND SECOND
</li><li>Support ISO INTERVAL syntax if units cannot be determined from </li><li>Support ISO INTERVAL syntax if units cannot be determined from
the string, and are supplied after the string the string, and are supplied after the string
<p> The SQL standard states that the units after the string specify <p> The SQL standard states that the units after the string
the units of the string, e.g. INTERVAL '2' MINUTE should specify the units of the string, e.g. INTERVAL '2' MINUTE
return '00:02:00'. The current behavior has the units should return '00:02:00'. The current behavior has the units
restrict the interval value to the specified unit or unit range, restrict the interval value to the specified unit or unit
INTERVAL '70' SECOND returns '00:00:10'. range, INTERVAL '70' SECOND returns '00:00:10'.
</p> </p>
<p> For syntax that isn't uniquely ISO or PG syntax, like '1' or <p> For syntax that isn't uniquely ISO or PG syntax, like '1' or
'1:30', treat as ISO if there is a range specification clause, '1:30', treat as ISO if there is a range specification clause,
and as PG if there no clause is present, e.g. interpret and as PG if there no clause is present, e.g. interpret '1:30'
'1:30' MINUTE TO SECOND as '1 minute 30 seconds', and MINUTE TO SECOND as '1 minute 30 seconds', and interpret
interpret '1:30' as '1 hour, 30 minutes'. '1:30' as '1 hour, 30 minutes'.
</p> </p>
<p> This makes common cases like SELECT INTERVAL '1' MONTH <p> This makes common cases like SELECT INTERVAL '1' MONTH
SQL-standard results. The SQL standard supports a limited SQL-standard results. The SQL standard supports a limited
number of unit combinations and doesn't support unit names number of unit combinations and doesn't support unit names in
in the string. The PostgreSQL syntax is more flexible in the string. The PostgreSQL syntax is more flexible in the
the range of units supported, e.g. PostgreSQL supports range of units supported, e.g. PostgreSQL supports '1 year 1
'1 year 1 hour', while the SQL standard does not. hour', while the SQL standard does not.
</p> </p>
</li><li>Add support for year-month syntax, INTERVAL '50-6' YEAR TO MONTH </li><li>Add support for year-month syntax, INTERVAL '50-6' YEAR TO MONTH
</li><li>Interpret INTERVAL '1 year' MONTH as CAST (INTERVAL '1 year' AS </li><li>Interpret INTERVAL '1 year' MONTH as CAST (INTERVAL '1 year' AS