|
1 |
| -<!-- $Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.74 2001/09/28 08:15:35 thomas Exp $ --> |
| 1 | +<!-- $Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.75 2001/09/28 20:48:17 thomas Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="functions">
|
4 | 4 | <title>Functions and Operators</title>
|
|
2291 | 2291 |
|
2292 | 2292 | <tbody>
|
2293 | 2293 | <row>
|
2294 |
| - <entry> <type><literal>+</literal> </entry> |
| 2294 | + <entry> <literal>+</literal> </entry> |
2295 | 2295 | <entry><type>timestamp</type> '2001-09-28 01:00' + <type>interval</type> '23 hours'</entry>
|
2296 | 2296 | <entry><type>timestamp</type> '2001-09-29 00:00'</entry>
|
2297 | 2297 | </row>
|
2298 | 2298 |
|
2299 | 2299 | <row>
|
2300 |
| - <entry> <type><literal>+</literal> </entry> |
| 2300 | + <entry> <literal>+</literal> </entry> |
2301 | 2301 | <entry><type>date</type> '2001-09-28' + <type>interval</type> '1 hour'</entry>
|
2302 | 2302 | <entry><type>timestamp</type> '2001-09-28 01:00'</entry>
|
2303 | 2303 | </row>
|
2304 | 2304 |
|
2305 | 2305 | <row>
|
2306 |
| - <entry> <type><literal>+</literal> </entry> |
| 2306 | + <entry> <literal>+</literal> </entry> |
2307 | 2307 | <entry><type>time</type> '01:00' + <type>interval</type> '3 hours'</entry>
|
2308 | 2308 | <entry><type>time</type> '04:00'</entry>
|
2309 | 2309 | </row>
|
2310 | 2310 |
|
2311 | 2311 | <row>
|
2312 |
| - <entry> <type><literal>-</literal> </entry> |
| 2312 | + <entry> <literal>-</literal> </entry> |
2313 | 2313 | <entry><type>timestamp</type> '2001-09-28 23:00' - <type>interval</type> '23 hours'</entry>
|
2314 | 2314 | <entry><type>timestamp</type> '2001-09-28'</entry>
|
2315 | 2315 | </row>
|
2316 | 2316 |
|
2317 | 2317 | <row>
|
2318 |
| - <entry> <type><literal>-</literal> </entry> |
| 2318 | + <entry> <literal>-</literal> </entry> |
2319 | 2319 | <entry><type>date</type> '2001-09-28' + <type>interval</type> '1 hour'</entry>
|
2320 | 2320 | <entry><type>timestamp</type> '2001-09-27 23:00'</entry>
|
2321 | 2321 | </row>
|
2322 | 2322 |
|
2323 | 2323 | <row>
|
2324 |
| - <entry> <type><literal>-</literal> </entry> |
| 2324 | + <entry> <literal>-</literal> </entry> |
2325 | 2325 | <entry><type>time</type> '05:00' + <type>interval</type> '2 hours'</entry>
|
2326 | 2326 | <entry><type>time</type> '03:00'</entry>
|
2327 | 2327 | </row>
|
2328 | 2328 |
|
2329 | 2329 | <row>
|
2330 |
| - <entry> <type><literal>-</literal> </entry> |
| 2330 | + <entry> <literal>-</literal> </entry> |
2331 | 2331 | <entry><type>interval</type> '2 hours' - <type>time</type> '05:00'</entry>
|
2332 | 2332 | <entry><type>time</type> '03:00:00'</entry>
|
2333 | 2333 | </row>
|
|
0 commit comments