|
1 | 1 | <!-- |
2 | | -$Header: /cvsroot/pgsql/doc/src/sgml/Attic/plsql.sgml,v 2.15 2001/01/1716:34:34 momjian Exp $ |
| 2 | +$Header: /cvsroot/pgsql/doc/src/sgml/Attic/plsql.sgml,v 2.16 2001/01/1722:13:33 momjian Exp $ |
3 | 3 | --> |
4 | 4 |
|
5 | 5 | <chapter id="plsql"> |
@@ -472,7 +472,7 @@ END IF; |
472 | 472 | database return a value. Thus, the normal way to call a function |
473 | 473 | is to execute a SELECT query or doing an assignment (resulting |
474 | 474 | in a PL/pgSQL internal SELECT). But there are cases where someone |
475 | | -isn't interested in thefunctions result. |
| 475 | +isn't interested in thefunction's result. |
476 | 476 | <programlisting> |
477 | 477 | PERFORM <replaceable>query</replaceable> |
478 | 478 | </programlisting> |
@@ -551,7 +551,7 @@ RETURN <replaceable>expression</replaceable> |
551 | 551 | </para> |
552 | 552 | <para> |
553 | 553 | The expressions result will be automatically casted into the |
554 | | -functions return type as described for assignments. |
| 554 | +function's return type as described for assignments. |
555 | 555 | </para> |
556 | 556 | </listitem> |
557 | 557 | </varlistentry> |
@@ -838,7 +838,7 @@ EXIT [ <replaceable>label</replaceable> ] [ WHEN <replaceable>expression</replac |
838 | 838 |
|
839 | 839 | <para> |
840 | 840 | One painful detail of writing functions in PL/pgSQL is the handling |
841 | | - of single quotes. Thefunctions source text on CREATE FUNCTION must |
| 841 | + of single quotes. Thefunction's source text on CREATE FUNCTION must |
842 | 842 | be a literal string. Single quotes inside of literal strings must be |
843 | 843 | either doubled or quoted with a backslash. We are still looking for |
844 | 844 | an elegant alternative. In the meantime, doubling the single quotes |
|