We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentda023ac commit707195cCopy full SHA for 707195c
src/bin/psql/tab-complete.c
@@ -369,11 +369,11 @@ static const SchemaQuery Query_for_list_of_updatables = {
369
NULL
370
};
371
372
-staticconstSchemaQueryQuery_for_list_of_tisvf= {
+staticconstSchemaQueryQuery_for_list_of_relations= {
373
/* catname */
374
"pg_catalog.pg_class c",
375
/* selcondition */
376
-"c.relkind IN ('r', 'i', 'S', 'v', 'f')",
+NULL,
377
/* viscondition */
378
"pg_catalog.pg_table_is_visible(c.oid)",
379
/* namespace */
@@ -2826,7 +2826,7 @@ psql_completion(char *text, int start, int end)
2826
2827
/* must be at end of \d list */
2828
elseif (strncmp(prev_wd,"\\d",strlen("\\d"))==0)
2829
-COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_tisvf,NULL);
+COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_relations,NULL);
2830
2831
elseif (strcmp(prev_wd,"\\ef")==0)
2832
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_functions,NULL);