-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UI: Remove use of information_schema.table_constraints (#1071)
In UI we get data from `information_schema.table_constraints` for primary key based filtering. This can be unreliable as according to [postgres docs](https://www.postgresql.org/docs/current/infoschema-table-constraints.html), it won't work for read-only users. This PR modifies two of our queries we use for the table picker to not use this view
- Loading branch information
1 parent
279d505
commit bf2544e
Showing
1 changed file
with
32 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters