diff options
| author | Bruce Momjian <bruce@momjian.us> | 2007-01-31 20:56:20 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2007-01-31 20:56:20 +0000 |
| commit | a134ee33794d7066143f5587d9c36bcca62bfc39 (patch) | |
| tree | 86772780b602023fbc8f9d7e50fb9d5fa5bd7c3f /doc/src/sgml/plpython.sgml | |
| parent | 67a1ae9f05f9311768ba0a4819f6b09d449c4294 (diff) | |
| download | postgresql-a134ee33794d7066143f5587d9c36bcca62bfc39.tar.gz | |
Update documentation on may/can/might:
Standard English uses "may", "can", and "might" in different ways:
may - permission, "You may borrow my rake."
can - ability, "I can lift that log."
might - possibility, "It might rain today."
Unfortunately, in conversational English, their use is often mixed, as
in, "You may use this variable to do X", when in fact, "can" is a better
choice. Similarly, "It may crash" is better stated, "It might crash".
Also update two error messages mentioned in the documenation to match.
Diffstat (limited to 'doc/src/sgml/plpython.sgml')
| -rw-r--r-- | doc/src/sgml/plpython.sgml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/plpython.sgml b/doc/src/sgml/plpython.sgml index d6f5aa3d96..8bc2f93b8f 100644 --- a/doc/src/sgml/plpython.sgml +++ b/doc/src/sgml/plpython.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/plpython.sgml,v 1.36 2006/10/23 18:10:31 petere Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/plpython.sgml,v 1.37 2007/01/31 20:56:18 momjian Exp $ --> <chapter id="plpython"> <title>PL/Python - Python Procedural Language</title> @@ -29,7 +29,7 @@ available as an <quote>untrusted</> language (meaning it does not offer any way of restricting what users can do in it). It has therefore been renamed to <literal>plpythonu</>. The trusted - variant <literal>plpython</> may become available again in future, + variant <literal>plpython</> might become available again in future, if a new secure execution mechanism is developed in Python. </para> @@ -401,7 +401,7 @@ $$ LANGUAGE plpythonu; </para> <para> - If <literal>TD["when"]</literal> is <literal>BEFORE</>, you may + If <literal>TD["when"]</literal> is <literal>BEFORE</>, you can return <literal>None</literal> or <literal>"OK"</literal> from the Python function to indicate the row is unmodified, <literal>"SKIP"</> to abort the event, or <literal>"MODIFY"</> to |
