cockroachdb / cockroachdb/cockroach
plpgsql: add logging for appropriate RAISE log levels
Open
A-sql-plpgsql
C-enhancement
docs-done
docs-known-limitation
T-sql-queries
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
The PL/pgSQL raise statement outputs to a log depending on the severity (see [docs](https://www.postgresql.org/docs/current/plpgsql-errors-and-messages.html#PLPGSQL-STATEMENTS-RAISE)). Currently, CRDB only prints the result of RAISE to the client (or returns an exception). This issue tracks adding support for RAISE statement logging, as well.
Jira issue: CRDB-35333
Contributor guide
Assessment
This issue has not been assessed yet.