Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd4316b8

Browse files
committed
psql: Remove unused tab completion query
This was used for the old CLUSTER syntax, has been unused sincee55c8e3.
1 parentbcf3f00 commitd4316b8

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

‎src/bin/psql/tab-complete.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -695,15 +695,6 @@ static const SchemaQuery Query_for_list_of_statistics = {
695695
" UNION ALL SELECT 'CURRENT_USER'"\
696696
" UNION ALL SELECT 'SESSION_USER'"
697697

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-
707698
/* the silly-looking length condition is just to eat up the current word */
708699
#defineQuery_for_index_of_table \
709700
"SELECT pg_catalog.quote_ident(c2.relname) "\

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp