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

Commite065443

Browse files
committed
Allow tab completion for ALTER TABLE dbname <tab><tab> to show new
RENAME TO option.
1 parent97edeec commite065443

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2003, PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.92 2003/11/06 22:08:15 petere Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.93 2003/11/08 20:54:24 momjian Exp $
77
*/
88

99
/*----------------------------------------------------------------------
@@ -645,7 +645,7 @@ psql_completion(char *text, int start, int end)
645645
strcasecmp(prev2_wd,"DATABASE")==0)
646646
{
647647
staticconstchar*constlist_ALTERDATABASE[]=
648-
{"RESET","SET",NULL};
648+
{"RESET","SET","RENAME TO",NULL};
649649

650650
COMPLETE_WITH_LIST(list_ALTERDATABASE);
651651
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp