提交 f4832def 编写于 作者: B Bruce Momjian

Update RAISE manual concerning % format symbols.

上级 a9ac332a
此差异已折叠。
<!--
$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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册