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

Commit06edce4

Browse files
committed
Tighten up to_date/to_timestamp so that they are more likely to reject
erroneous input, rather than silently producing bizarre results as formerlyhappened.Brendan Jurd
1 parent70530c8 commit06edce4

File tree

8 files changed

+740
-814
lines changed

8 files changed

+740
-814
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.446 2008/09/08 00:47:40 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.447 2008/09/11 17:32:33 tgl Exp $ -->
22

33
<chapter id="functions">
44
<title>Functions and Operators</title>
@@ -5187,7 +5187,12 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
51875187
</itemizedlist>
51885188
</para>
51895189
<para>
5190-
Attempting to construct a date using a mixture of ISO week and Gregorian date fields is nonsensical, and could yield unexpected results. In the context of an ISO year, the concept of a 'month' or 'day of month' has no meaning. In the context of a Gregorian year, the ISO week has no meaning. Users should take care to keep Gregorian and ISO date specifications separate.
5190+
Attempting to construct a date using a mixture of ISO week and
5191+
Gregorian date fields is nonsensical, and will cause an error. In the
5192+
context of an ISO year, the concept of a <quote>month</> or <quote>day
5193+
of month</> has no meaning. In the context of a Gregorian year, the
5194+
ISO week has no meaning. Users should take care to keep Gregorian and
5195+
ISO date specifications separate.
51915196
</para>
51925197
</listitem>
51935198

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp