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
96c40c6e
Commit
96c40c6e
authored
Jan 02, 2010
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing schema-qualification in tab completion query.
parent
e15d53e7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/bin/psql/tab-complete.c
src/bin/psql/tab-complete.c
+4
-4
No files found.
src/bin/psql/tab-complete.c
View file @
96c40c6e
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*
*
* Copyright (c) 2000-2010, PostgreSQL Global Development Group
* Copyright (c) 2000-2010, PostgreSQL Global Development Group
*
*
* $PostgreSQL: pgsql/src/bin/psql/tab-complete.c,v 1.1
89 2010/01/02 16:58:00 momjian
Exp $
* $PostgreSQL: pgsql/src/bin/psql/tab-complete.c,v 1.1
90 2010/01/02 21:28:46 tgl
Exp $
*/
*/
/*----------------------------------------------------------------------
/*----------------------------------------------------------------------
...
@@ -387,7 +387,7 @@ static const SchemaQuery Query_for_list_of_views = {
...
@@ -387,7 +387,7 @@ static const SchemaQuery Query_for_list_of_views = {
#define Query_for_list_of_template_databases \
#define Query_for_list_of_template_databases \
"SELECT pg_catalog.quote_ident(datname) FROM pg_catalog.pg_database "\
"SELECT pg_catalog.quote_ident(datname) FROM pg_catalog.pg_database "\
" WHERE substring(pg_catalog.quote_ident(datname),1,%d)='%s'
and datistemplate IS TRUE
"
" WHERE substring(pg_catalog.quote_ident(datname),1,%d)='%s'
AND datistemplate
"
#define Query_for_list_of_databases \
#define Query_for_list_of_databases \
"SELECT pg_catalog.quote_ident(datname) FROM pg_catalog.pg_database "\
"SELECT pg_catalog.quote_ident(datname) FROM pg_catalog.pg_database "\
...
@@ -404,9 +404,9 @@ static const SchemaQuery Query_for_list_of_views = {
...
@@ -404,9 +404,9 @@ static const SchemaQuery Query_for_list_of_views = {
#define Query_for_list_of_languages \
#define Query_for_list_of_languages \
"SELECT pg_catalog.quote_ident(lanname) "\
"SELECT pg_catalog.quote_ident(lanname) "\
" FROM pg_language "\
" FROM pg_
catalog.pg_
language "\
" WHERE lanname != 'internal' "\
" WHERE lanname != 'internal' "\
" AND substring(pg_catalog.quote_ident(lanname),1,%d)='%s'
"
" AND substring(pg_catalog.quote_ident(lanname),1,%d)='%s'"
#define Query_for_list_of_schemas \
#define Query_for_list_of_schemas \
"SELECT pg_catalog.quote_ident(nspname) FROM pg_catalog.pg_namespace "\
"SELECT pg_catalog.quote_ident(nspname) FROM pg_catalog.pg_namespace "\
...
...
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