doc: Replace reference to ERRCODE_RAISE_EXCEPTION by "raise_exception"
authorMichael Paquier <michael@paquier.xyz>
Wed, 1 Nov 2023 22:33:02 +0000 (07:33 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 1 Nov 2023 22:33:38 +0000 (07:33 +0900)
commitf8b96c211da0037269e31bd2be5e0f730ec5a2bc
tree73799359833d6e2e21782cdb262a28a9b585c543
parent468377fab7faf87fef85b6cb085ba79dc75fedbf
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: http://postgr.es/m/ZUEUnLevXyW7DlCs@momjian.us
Backpatch-through: 11
doc/src/sgml/plpgsql.sgml