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:34 +0000 (07:33 +0900)
commit52a105eff2ba2e8154e5a25ae69603ef421b8804
tree0a00c58aa87cc8bafb1b1a2d7d8ad55fc49d7604
parentb3dd43db1a3b54957bff4efb30dd9ab8715a2c2b
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