From: Peter Eisentraut Date: Tue, 18 Dec 2012 03:45:20 +0000 (-0500) Subject: doc: Put PL/pgSQL RAISE USING keywords into a list X-Git-Tag: REL9_3_BETA1~586 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d2e9a9dbd56aabb9273fbc30ca6c03d6f24b996;p=postgresql doc: Put PL/pgSQL RAISE USING keywords into a list Karl O. Pinc --- diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index b33c41e02a..95cf4b6b46 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -3288,20 +3288,44 @@ RAISE NOTICE 'Calling cs_create_job(%)', v_job_id; You can attach additional information to the error report by writing USING followed by option = expression items. The allowed - option keywords are - MESSAGE, DETAIL, HINT, and - ERRCODE, while each expression can be any string-valued - expression. - MESSAGE sets the error message text (this option can't - be used in the form of RAISE that includes a format - string before USING). - DETAIL supplies an error detail message, while - HINT supplies a hint message. - ERRCODE specifies the error code (SQLSTATE) to report, - either by condition name as shown in , - or directly as a five-character SQLSTATE code. + class="parameter">expression items. Each + expression can be any + string-valued expression. The allowed option key words are: + + + + MESSAGE + + Sets the error message text. This option can't be used in the + form of RAISE that includes a format string + before USING. + + + + + DETAIL + + Supplies an error detail message. + + + + + HINT + + Supplies a hint message. + + + + + ERRCODE + + Specifies the error code (SQLSTATE) to report, either by condition + name, as shown in , or directly as a + five-character SQLSTATE code. + + +