Add documentation example of using interval multiplication with 'days'.
Backpatch to 8.1.X.
This commit is contained in:
parent
3086f6e4f0
commit
2ddac948f8
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.299 2005/12/21 16:02:24 momjian Exp $
|
||||
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.300 2005/12/21 23:22:55 momjian Exp $
|
||||
PostgreSQL documentation
|
||||
-->
|
||||
|
||||
@ -5207,6 +5207,12 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
|
||||
<entry><literal>interval '00:15:00'</literal></entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry> <literal>*</literal> </entry>
|
||||
<entry><literal>21 * interval '1 day'</literal></entry>
|
||||
<entry><literal>interval '21 days'</literal></entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry> <literal>*</literal> </entry>
|
||||
<entry><literal>double precision '3.5' * interval '1 hour'</literal></entry>
|
||||
|
Loading…
Reference in New Issue
Block a user