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

Commit7e1f544

Browse files
committed
doc: Mention timezone(zone, time) in section for AT TIME ZONE
timezone(zone, timestamp) is already mentioned as an equivalent of thetwo first patterns in the table describing the AT TIME ZONE variants,but did not mention the third case about "time" and its equivalent as anSQL function, so let's be consistent here.Extracted from a larger patch by the same author.Author: Vik FearingDiscussion:https://postgr.es/m/8e25dec4-5667-c1a5-6581-167d710c2182@postgresfriends.org
1 parentdf9a3d4 commit7e1f544

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10738,6 +10738,13 @@ SELECT TIMESTAMP '2001-02-16 20:38:40' AT TIME ZONE 'Asia/Tokyo' AT TIME ZONE 'A
1073810738
<literal><replaceable>timestamp</replaceable> AT TIME ZONE
1073910739
<replaceable>zone</replaceable></literal>.
1074010740
</para>
10741+
10742+
<para>
10743+
The function <literal><function>timezone</function>(<replaceable>zone</replaceable>,
10744+
<replaceable>time</replaceable>)</literal> is equivalent to the SQL-conforming construct
10745+
<literal><replaceable>time</replaceable> AT TIME ZONE
10746+
<replaceable>zone</replaceable></literal>.
10747+
</para>
1074110748
</sect2>
1074210749

1074310750
<sect2 id="functions-datetime-current">

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp