-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Support TABLE_NAME in CHECK_CONSTRAINTS #47565
Comments
Good Topic !! |
related pr: #46428 |
related topic: https://asktug.com/t/topic/1014356 |
@dveeden when you have time, could you help take a look? |
This is what MySQL 8.2.0 has:
This is what it looks like in TiDB:
This is what it looks like in PostgreSQL 15.3
Also other implementations are using a similar structure:
With MySQL compatibility and ISO/IEC 9075-11 compliance in mind adding columns would create problems. What we could do is to create another table (e.g. |
This would be similar to PostgreSQL where
|
@dveeden Thank you very much for your reply. https://docs.pingcap.com/tidb/dev/information-schema-partitions
https://docs.pingcap.com/tidb/dev/information-schema-tables
|
With #48313 :
|
Enhancement
please add columne TABLE_NAME in table CHECK_CONSTRAINTS, so that we can clearly know which table the check constraints belongs to.
reference:
in mariadb, that's more clearly.
The text was updated successfully, but these errors were encountered: