summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian2001-05-08 00:30:41 +0000
committerBruce Momjian2001-05-08 00:30:41 +0000
commitf4832defa910c104d4c5b156e6e998276c7e9049 (patch)
tree45e495f66bfee7dc70928a0589d5692f00076946 /doc/src
parenta9ac332a4e19e5d0839e33a99956320b1250ca3c (diff)
Update RAISE manual concerning % format symbols.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/plsql.sgml15
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>