|
1 | 1 | <!--
|
2 |
| -$PostgreSQL: pgsql/doc/src/sgml/ref/create_function.sgml,v 1.90 2010/02/14 01:01:35 tgl Exp $ |
| 2 | +$PostgreSQL: pgsql/doc/src/sgml/ref/create_function.sgml,v 1.91 2010/02/25 22:24:00 momjian Exp $ |
3 | 3 | -->
|
4 | 4 |
|
5 | 5 | <refentry id="SQL-CREATEFUNCTION">
|
@@ -289,7 +289,9 @@ CREATE [ OR REPLACE ] FUNCTION
|
289 | 289 | return the same result for the same argument values, but that its
|
290 | 290 | result could change across SQL statements. This is the appropriate
|
291 | 291 | selection for functions whose results depend on database lookups,
|
292 |
| - parameter variables (such as the current time zone), etc. Also note |
| 292 | + parameter variables (such as the current time zone), etc. (It is |
| 293 | + inappropriate for <literal>AFTER</> triggers that wish to |
| 294 | + query rows modified by the current command.) Also note |
293 | 295 | that the <function>current_timestamp</> family of functions qualify
|
294 | 296 | as stable, since their values do not change within a transaction.
|
295 | 297 | </para>
|
|