doc: Replace reference to ERRCODE_RAISE_EXCEPTION by "raise_exception"

Michael Paquier <michael@paquier.xyz>

Commit: 616de5bb35734d2b88b2d3bc9a685925def893f2
Author: Michael Paquier <michael@paquier.xyz>
Date: 2023-11-01T22:33:36Z
Releases: 12.17
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