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

Commit2ddac94

Browse files
committed
Add documentation example of using interval multiplication with 'days'.
Backpatch to 8.1.X.
1 parent3086f6e commit2ddac94

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.299 2005/12/2116:02:24 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.300 2005/12/2123:22:55 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -5207,6 +5207,12 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
52075207
<entry><literal>interval '00:15:00'</literal></entry>
52085208
</row>
52095209

5210+
<row>
5211+
<entry> <literal>*</literal> </entry>
5212+
<entry><literal>21 * interval '1 day'</literal></entry>
5213+
<entry><literal>interval '21 days'</literal></entry>
5214+
</row>
5215+
52105216
<row>
52115217
<entry> <literal>*</literal> </entry>
52125218
<entry><literal>double precision '3.5' * interval '1 hour'</literal></entry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp