diff -cr cvs/pgsql/doc/src/sgml/datatype.sgml cvs.build/pgsql/doc/src/sgml/datatype.sgml *** cvs/pgsql/doc/src/sgml/datatype.sgml 2006-06-19 03:25:38.000000000 +0200 --- cvs.build/pgsql/doc/src/sgml/datatype.sgml 2006-06-20 00:40:57.000000000 +0200 *************** *** 1602,1608 **** linkend="datatype-datetime-time-table"> and .) If a time zone is specified in the input for time without time zone, ! it is silently ignored. --- 1602,1613 ---- linkend="datatype-datetime-time-table"> and .) If a time zone is specified in the input for time without time zone, ! it is silently ignored. You can also always specify a date but it will ! be ignored except for when you use a full time zone name like ! America/New_York. In this case specifying the date ! is compulsory in order to tell which time zone offset should be ! applied. It will be applied whatever time zone offset was valid at that ! date and time at the specified place.
*************** *** 1659,1664 **** --- 1664,1673 ---- 04:05:06 PSTtime zone specified by name + + 2003-04-12 04:05:06 America/New_York + time zone specified by full name +
*************** *** 1678,1683 **** --- 1687,1696 ---- Pacific Standard Time + America/New_York + Full time zone name + + -8:00 ISO-8601 offset for PST *************** *** 1739,1746 **** are valid values, which follow the ISO 8601 ! standard. In addition, the wide-spread format January 8 04:05:06 1999 PST --- 1752,1763 ---- are valid values, which follow the ISO 8601 ! standard. You can also specify the full time zone name as in ! ! 1999-01-08 04:05:06 America/New_York ! + In addition, the wide-spread format January 8 04:05:06 1999 PST diff -cr cvs/pgsql/doc/src/sgml/datetime.sgml cvs.build/pgsql/doc/src/sgml/datetime.sgml *** cvs/pgsql/doc/src/sgml/datetime.sgml 2006-05-15 22:59:37.000000000 +0200 --- cvs.build/pgsql/doc/src/sgml/datetime.sgml 2006-06-20 00:40:55.000000000 +0200 *************** *** 46,52 **** If the numeric token contains a dash (-), slash (/), or two or more dots (.), this is ! a date string which may have a text month. --- 46,54 ---- If the numeric token contains a dash (-), slash (/), or two or more dots (.), this is ! a date string which may have a text month. In case of a slash ! (/) it can also be a full time zone name like ! America/New_York. *************** *** 359,365 **** ! shows the time zone abbreviations recognized by PostgreSQL in date/time input values. Note that these names are not necessarily used for date/time output — output is driven by the --- 361,368 ---- ! and ! show the time zone abbreviations recognized by PostgreSQL in date/time input values. Note that these names are not necessarily used for date/time output — output is driven by the *************** *** 983,995 **** ! shows the time zone names recognized by PostgreSQL as valid settings for the parameter. Note that these names are conceptually as well as practically different from the names shown in : most of these names imply a local daylight-savings time rule, whereas ! the former names each represent just a fixed offset from UTC. --- 986,1000 ---- ! shows the time zone names recognized by PostgreSQL as valid settings for the parameter. Note that these names are conceptually as well as practically different from the names shown in : most of these names imply a local daylight-savings time rule, whereas ! the former names each represent just a fixed offset from UTC. That's why ! you always have to specify a date if you want to use these time zone ! names in timetz values. *************** *** 998,1005 **** by the name of the principal city of the zone. ! ! Time Zone Names for Setting <varname>timezone</> --- 1003,1010 ---- by the name of the principal city of the zone. !
! Time Zone Names for date/time input values and for setting <varname>timezone</> diff -cr cvs/pgsql/doc/src/sgml/func.sgml cvs.build/pgsql/doc/src/sgml/func.sgml *** cvs/pgsql/doc/src/sgml/func.sgml 2006-06-19 03:25:38.000000000 +0200 --- cvs.build/pgsql/doc/src/sgml/func.sgml 2006-06-19 14:48:41.000000000 +0200 *************** *** 6091,6097 **** specified either as a text string (e.g., 'PST') or as an interval (e.g., INTERVAL '-08:00'). In the text case, the available zone names are those shown in either ! or . --- 6091,6097 ---- specified either as a text string (e.g., 'PST') or as an interval (e.g., INTERVAL '-08:00'). In the text case, the available zone names are those shown in either ! or .