File tree 1 file changed +0
-9
lines changed
1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -695,15 +695,6 @@ static const SchemaQuery Query_for_list_of_statistics = {
695
695
" UNION ALL SELECT 'CURRENT_USER'"\
696
696
" UNION ALL SELECT 'SESSION_USER'"
697
697
698
- /* the silly-looking length condition is just to eat up the current word */
699
- #define Query_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
698
/* the silly-looking length condition is just to eat up the current word */
708
699
#define Query_for_index_of_table \
709
700
"SELECT pg_catalog.quote_ident(c2.relname) "\
You can’t perform that action at this time.
0 commit comments