cockroachdb / cockroachdb/cockroach
plpgsql: support FOUND local variable
Open
A-sql-plpgsql
A-sql-routine
C-enhancement
docs-done
docs-known-limitation
O-qa
T-sql-queries
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
See https://www.postgresql.org/docs/current/plpgsql-statements.html#PLPGSQL-STATEMENTS-DIAGNOSTICS for detailed information. `FOUND` local variable is present in all PLpgSQL routines and allows to check whether a statement produced some rows or not.
Jira issue: CRDB-37795
Contributor guide
Assessment
This issue has not been assessed yet.