diff options
| author | Bruce Momjian | 2001-05-08 00:30:41 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2001-05-08 00:30:41 +0000 |
| commit | f4832defa910c104d4c5b156e6e998276c7e9049 (patch) | |
| tree | 45e495f66bfee7dc70928a0589d5692f00076946 /doc/src | |
| parent | a9ac332a4e19e5d0839e33a99956320b1250ca3c (diff) | |
Update RAISE manual concerning % format symbols.
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/sgml/plsql.sgml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/src/sgml/plsql.sgml b/doc/src/sgml/plsql.sgml index 43016496f1f..4ed6ca14287 100644 --- a/doc/src/sgml/plsql.sgml +++ b/doc/src/sgml/plsql.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/Attic/plsql.sgml,v 2.26 2001/05/08 00:09:22 momjian Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/Attic/plsql.sgml,v 2.27 2001/05/08 00:30:41 momjian Exp $ --> <chapter id="plpgsql"> @@ -1306,14 +1306,15 @@ END LOOP; <productname>Postgres</productname> elog mechanism. <synopsis> -RAISE <replaceable class="parameter">level</replaceable> '<replaceable class="parameter">string</replaceable>' <optional>, <replaceable class="parameter">variable</replaceable> <optional>...</optional></optional>; +RAISE <replaceable class="parameter">level</replaceable> '<replaceable class="parameter">format</replaceable>' <optional>, <replaceable class="parameter">variable</replaceable> <optional>...</optional></optional>; </synopsis> - Inside the format, <literal>%</literal> is used as a placeholder for the - subsequent comma-separated identifiers. Possible levels are - DEBUG (silently suppressed in production running databases), NOTICE - (written into the database log and forwarded to the client application) - and EXCEPTION (written into the database log and aborting the transaction). + Inside the format, <literal>%</literal> is replaced by the next argument's + external representation. Double %'s are left unchanged for internal + reasons. Possible levels are DEBUG (silently suppressed in production + running databases), NOTICE (written into the database log and forwarded to + the client application) and EXCEPTION (written into the database log and + aborting the transaction). </para> <para> |
