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

Commitc7d7788

Browse files
committed
Fix NULL casting warning, pointed out by Joe Conway
1 parentc2d5aba commitc7d7788

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright 2000-2002 by PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.74 2003/03/27 16:45:01 momjian Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.75 2003/03/28 16:34:50 momjian Exp $
77
*/
88

99
/*----------------------------------------------------------------------
@@ -411,27 +411,27 @@ typedef struct
411411

412412
pgsql_thing_twords_after_create[]= {
413413
{"AGGREGATE",WITH_SCHEMA,Query_for_list_of_aggregates},
414-
{"CAST",NULL,NULL},/* Casts have complex structures for namees, so skip it */
414+
{"CAST",NO_SCHEMA,NULL},/* Casts have complex structures for namees, so skip it */
415415
{"CONVERSION",NO_SCHEMA,"SELECT conname FROM pg_catalog.pg_conversion WHERE substr(conname,1,%d)='%s'"},
416416
{"DATABASE",NO_SCHEMA,Query_for_list_of_databases},
417417
{"DOMAIN",WITH_SCHEMA,Query_for_list_of_domains},
418418
{"FUNCTION",WITH_SCHEMA,Query_for_list_of_functions},
419419
{"GROUP",NO_SCHEMA,"SELECT groname FROM pg_catalog.pg_group WHERE substr(groname,1,%d)='%s'"},
420420
{"LANGUAGE",NO_SCHEMA,Query_for_list_of_languages},
421421
{"INDEX",WITH_SCHEMA,Query_for_list_of_indexes},
422-
{"OPERATOR",NULL,NULL},/* Querying for this is probably not such
422+
{"OPERATOR",NO_SCHEMA,NULL},/* Querying for this is probably not such
423423
* a good idea. */
424424
{"RULE",NO_SCHEMA,"SELECT rulename FROM pg_catalog.pg_rules WHERE substr(rulename,1,%d)='%s'"},
425425
{"SCHEMA",NO_SCHEMA,Query_for_list_of_schemas},
426426
{"SEQUENCE",WITH_SCHEMA,Query_for_list_of_sequences},
427427
{"TABLE",WITH_SCHEMA,Query_for_list_of_tables},
428-
{"TEMP",NULL,NULL},/* for CREATE TEMP TABLE ... */
428+
{"TEMP",NO_SCHEMA,NULL},/* for CREATE TEMP TABLE ... */
429429
{"TRIGGER",NO_SCHEMA,"SELECT tgname FROM pg_catalog.pg_trigger WHERE substr(tgname,1,%d)='%s'"},
430430
{"TYPE",WITH_SCHEMA,Query_for_list_of_datatypes },
431-
{"UNIQUE",NULL,NULL},/* for CREATE UNIQUE INDEX ... */
431+
{"UNIQUE",NO_SCHEMA,NULL},/* for CREATE UNIQUE INDEX ... */
432432
{"USER",NO_SCHEMA,Query_for_list_of_users},
433433
{"VIEW",WITH_SCHEMA,Query_for_list_of_views},
434-
{NULL,NULL}/* end of list */
434+
{NULL,NO_SCHEMA,NULL}/* end of list */
435435
};
436436

437437

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp