-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
comprules: avoid including pg_catalog tables by default
Previous to this patch, since `pg_catalog` is in the default `search_path`, the tab completion for relations would include all the `pg_catalog` tables. This is generally undesirable: there are very many of them. This patch enhances the situation by only completing pg_ relations in the following cases: - when the cursor is position after an explicit schema qualification; in which case we're going to filter to that schema anyway. - when the completion prefix already includes the `pg_` prefix, in which case we can assume the user wants to see these tables. Release note: None
- Loading branch information
Showing
3 changed files
with
92 additions
and
45 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
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
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