doc: Replace reference to ERRCODE_RAISE_EXCEPTION by "raise_exception"

Michael Paquier <michael@paquier.xyz>

Commit: f8b96c211da0037269e31bd2be5e0f730ec5a2bc
Author: Michael Paquier <michael@paquier.xyz>
Date: 2023-11-01T22:33:38Z
Releases: 11.22
doc: Replace reference to ERRCODE_RAISE_EXCEPTION by "raise_exception"

This part of the documentation refers to exceptions as handled by
PL/pgSQL, and using the internal error code is confusing.

Per thinko in 66bde49d96a9.

Reported-by: Euler Taveira, Bruce Momjian
Discussion: https://postgr.es/m/ZUEUnLevXyW7DlCs@momjian.us
Backpatch-through: 11

Files

PathChange+/−
doc/src/sgml/plpgsql.sgml modified +1 −1

Documentation touched

Discussion