Commit f4832def authored by Bruce Momjian's avatar Bruce Momjian

Update RAISE manual concerning % format symbols.

parent a9ac332a
This diff is collapsed.
<!-- <!--
$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"> <chapter id="plpgsql">
...@@ -1306,14 +1306,15 @@ END LOOP; ...@@ -1306,14 +1306,15 @@ END LOOP;
<productname>Postgres</productname> elog mechanism. <productname>Postgres</productname> elog mechanism.
<synopsis> <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> </synopsis>
Inside the format, <literal>%</literal> is used as a placeholder for the Inside the format, <literal>%</literal> is replaced by the next argument's
subsequent comma-separated identifiers. Possible levels are external representation. Double %'s are left unchanged for internal
DEBUG (silently suppressed in production running databases), NOTICE reasons. Possible levels are DEBUG (silently suppressed in production
(written into the database log and forwarded to the client application) running databases), NOTICE (written into the database log and forwarded to
and EXCEPTION (written into the database log and aborting the transaction). the client application) and EXCEPTION (written into the database log and
aborting the transaction).
</para> </para>
<para> <para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment