Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR #97038 - sql: use UDFs in check constraints #16298

Open
cockroach-teamcity opened this issue Feb 21, 2023 · 0 comments
Open

PR #97038 - sql: use UDFs in check constraints #16298

cockroach-teamcity opened this issue Feb 21, 2023 · 0 comments

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Feb 21, 2023

Exalate commented:

Related PR: cockroachdb/cockroach#97038
Commit: cockroachdb/cockroach@c7299a7
Informs: cockroachdb/cockroach#87699


Release note (sql change): previously UDFs are not allowed in
tables and any other object. This patch enables UDF usage in
CHECK constraints of tables in both legacy schema changer and
delcarative schema changer. Circular ependencies are not allowed,
namely if a UDF depends on a table, then the table can't use that
UDF.

Jira Issue: DOC-6978

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants