doc: Replace reference to ERRCODE_RAISE_EXCEPTION by "raise_exception"

Michael Paquier <michael@paquier.xyz>

Commit: 4210b55f598534db9d52c4535b7dcc777dda75a6
Author: Michael Paquier <michael@paquier.xyz>
Date: 2023-11-01T22:33:02Z
Releases: 17.0
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