Update 24 hours/1 day distinction in release notes.

This commit is contained in:
Bruce Momjian 2005-10-25 15:12:22 +00:00
parent 9ee8b9fd38
commit b83547201f

View File

@ -1,5 +1,5 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.391 2005/10/15 20:12:32 neilc Exp $ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.392 2005/10/25 15:12:22 momjian Exp $
Typical markup: Typical markup:
@ -1211,13 +1211,13 @@ psql -t -f fixseq.sql db1 | psql -e db1
Glaesemann) Glaesemann)
</para> </para>
<para> <para>
Days that contain a daylight savings time adjustment are not 24 Dates that contain a daylight savings time adjustment are not 24
hours, but typically 23 or 25 hours. This change allows days hours, but typically 23 or 25 hours. This change allows numeric days
(not fixed 24-hour periods) to be added to dates who's result (not fixed 24-hour periods) to be added to dates which include
includes a daylight savings time adjustment period. Therefore, a daylight savings time adjustment period. Therefore, while in
while in previous releases <literal>1 day</> and <literal>24 previous releases <literal>1 day</> and <literal>24 hours</> were
hours</> were interchangeable interval values, in this release interchangeable interval values, in this release they are treated
they are treated differently, e.g. differently, e.g.
<programlisting> <programlisting>
'2005-05-03 00:00:00 EST' + '1 day' = '2005-05-04 00:00:00-04' '2005-05-03 00:00:00 EST' + '1 day' = '2005-05-04 00:00:00-04'
'2005-05-03 00:00:00 EST' + '24 hours' = '2005-05-04 01:00:00-04' '2005-05-03 00:00:00 EST' + '24 hours' = '2005-05-04 01:00:00-04'