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:35 +0000 (07:33 +0900)
commitaa0246ccf5bb6b306777463ff4c4a7c49f38d058
tree8b17a13cdd3ac6264aa072131c55a816e62a2609
parent3c9e5cea219aa60cb44c7315369df16358c915bb
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
doc/src/sgml/plpgsql.sgml