Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
c7d7788d
Commit
c7d7788d
authored
Mar 28, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix NULL casting warning, pointed out by Joe Conway
parent
c2d5abae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/bin/psql/tab-complete.c
src/bin/psql/tab-complete.c
+6
-6
No files found.
src/bin/psql/tab-complete.c
View file @
c7d7788d
...
...
@@ -3,7 +3,7 @@
*
* Copyright 2000-2002 by PostgreSQL Global Development Group
*
* $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.7
4 2003/03/27 16:45:01
momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.7
5 2003/03/28 16:34:50
momjian Exp $
*/
/*----------------------------------------------------------------------
...
...
@@ -411,7 +411,7 @@ typedef struct
pgsql_thing_t
words_after_create
[]
=
{
{
"AGGREGATE"
,
WITH_SCHEMA
,
Query_for_list_of_aggregates
},
{
"CAST"
,
N
ULL
,
NULL
},
/* Casts have complex structures for namees, so skip it */
{
"CAST"
,
N
O_SCHEMA
,
NULL
},
/* Casts have complex structures for namees, so skip it */
{
"CONVERSION"
,
NO_SCHEMA
,
"SELECT conname FROM pg_catalog.pg_conversion WHERE substr(conname,1,%d)='%s'"
},
{
"DATABASE"
,
NO_SCHEMA
,
Query_for_list_of_databases
},
{
"DOMAIN"
,
WITH_SCHEMA
,
Query_for_list_of_domains
},
...
...
@@ -419,19 +419,19 @@ pgsql_thing_t words_after_create[] = {
{
"GROUP"
,
NO_SCHEMA
,
"SELECT groname FROM pg_catalog.pg_group WHERE substr(groname,1,%d)='%s'"
},
{
"LANGUAGE"
,
NO_SCHEMA
,
Query_for_list_of_languages
},
{
"INDEX"
,
WITH_SCHEMA
,
Query_for_list_of_indexes
},
{
"OPERATOR"
,
N
ULL
,
NULL
},
/* Querying for this is probably not such
{
"OPERATOR"
,
N
O_SCHEMA
,
NULL
},
/* Querying for this is probably not such
* a good idea. */
{
"RULE"
,
NO_SCHEMA
,
"SELECT rulename FROM pg_catalog.pg_rules WHERE substr(rulename,1,%d)='%s'"
},
{
"SCHEMA"
,
NO_SCHEMA
,
Query_for_list_of_schemas
},
{
"SEQUENCE"
,
WITH_SCHEMA
,
Query_for_list_of_sequences
},
{
"TABLE"
,
WITH_SCHEMA
,
Query_for_list_of_tables
},
{
"TEMP"
,
N
ULL
,
NULL
},
/* for CREATE TEMP TABLE ... */
{
"TEMP"
,
N
O_SCHEMA
,
NULL
},
/* for CREATE TEMP TABLE ... */
{
"TRIGGER"
,
NO_SCHEMA
,
"SELECT tgname FROM pg_catalog.pg_trigger WHERE substr(tgname,1,%d)='%s'"
},
{
"TYPE"
,
WITH_SCHEMA
,
Query_for_list_of_datatypes
},
{
"UNIQUE"
,
N
ULL
,
NULL
},
/* for CREATE UNIQUE INDEX ... */
{
"UNIQUE"
,
N
O_SCHEMA
,
NULL
},
/* for CREATE UNIQUE INDEX ... */
{
"USER"
,
NO_SCHEMA
,
Query_for_list_of_users
},
{
"VIEW"
,
WITH_SCHEMA
,
Query_for_list_of_views
},
{
NULL
,
NULL
}
/* end of list */
{
NULL
,
N
O_SCHEMA
,
N
ULL
}
/* end of list */
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment