cockroachdb / cockroachdb/cockroach

plpgsql: add logging for appropriate RAISE log levels

Open
#117,750 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.