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 parentbcf3f00 commitd4316b8Copy full SHA for d4316b8
src/bin/psql/tab-complete.c
@@ -695,15 +695,6 @@ static const SchemaQuery Query_for_list_of_statistics = {
695
" UNION ALL SELECT 'CURRENT_USER'"\
696
" UNION ALL SELECT 'SESSION_USER'"
697
698
-/* the silly-looking length condition is just to eat up the current word */
699
-#defineQuery_for_table_owning_index \
700
-"SELECT pg_catalog.quote_ident(c1.relname) "\
701
-" FROM pg_catalog.pg_class c1, pg_catalog.pg_class c2, pg_catalog.pg_index i"\
702
-" WHERE c1.oid=i.indrelid and i.indexrelid=c2.oid"\
703
-" and (%d = pg_catalog.length('%s'))"\
704
-" and pg_catalog.quote_ident(c2.relname)='%s'"\
705
-" and pg_catalog.pg_table_is_visible(c2.oid)"
706
-
707
/* the silly-looking length condition is just to eat up the current word */
708
#defineQuery_for_index_of_table \
709
"SELECT pg_catalog.quote_ident(c2.relname) "\