Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf8b96c2

Browse files
committed
doc: Replace reference to ERRCODE_RAISE_EXCEPTION by "raise_exception"
This part of the documentation refers to exceptions as handled byPL/pgSQL, and using the internal error code is confusing.Per thinko in66bde49.Reported-by: Euler Taveira, Bruce MomjianDiscussion:https://postgr.es/m/ZUEUnLevXyW7DlCs@momjian.usBackpatch-through: 11
1 parent468377f commitf8b96c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎doc/src/sgml/plpgsql.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3753,7 +3753,7 @@ RAISE unique_violation USING MESSAGE = 'Duplicate user ID: ' || user_id;
37533753
<para>
37543754
If no condition name nor SQLSTATE is specified in a
37553755
<command>RAISE EXCEPTION</command> command, the default is to use
3756-
<literal>ERRCODE_RAISE_EXCEPTION</literal> (<literal>P0001</literal>).
3756+
<literal>raise_exception</literal> (<literal>P0001</literal>).
37573757
If no message text is specified, the default is to use the condition
37583758
name or SQLSTATE as message text.
37593759
</para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp