cockroachdb / cockroachdb/cockroach

plpgsql: support FOUND local variable

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

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.