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

Commit4210b55

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 parent783e816 commit4210b55

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
@@ -3942,7 +3942,7 @@ RAISE unique_violation USING MESSAGE = 'Duplicate user ID: ' || user_id;
39423942
<para>
39433943
If no condition name nor SQLSTATE is specified in a
39443944
<command>RAISE EXCEPTION</command> command, the default is to use
3945-
<literal>ERRCODE_RAISE_EXCEPTION</literal> (<literal>P0001</literal>).
3945+
<literal>raise_exception</literal> (<literal>P0001</literal>).
39463946
If no message text is specified, the default is to use the condition
39473947
name or SQLSTATE as message text.
39483948
</para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp