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
609f71b7
Commit
609f71b7
authored
Mar 07, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also an small change to the tab-complete feature of psql which allows to
use tables and views interchangeably. Manuel Sugawara
parent
9178b7fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/bin/psql/tab-complete.c
src/bin/psql/tab-complete.c
+2
-2
No files found.
src/bin/psql/tab-complete.c
View file @
609f71b7
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*
*
* Copyright 2000 by PostgreSQL Global Development Group
* Copyright 2000 by PostgreSQL Global Development Group
*
*
* $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.4
3 2002/03/05 00:01:0
3 momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.4
4 2002/03/07 04:45:5
3 momjian Exp $
*/
*/
/*----------------------------------------------------------------------
/*----------------------------------------------------------------------
...
@@ -141,7 +141,7 @@ pgsql_thing_t words_after_create[] = {
...
@@ -141,7 +141,7 @@ pgsql_thing_t words_after_create[] = {
* a good idea. */
* a good idea. */
{
"RULE"
,
"SELECT rulename FROM pg_rules WHERE substr(rulename,1,%d)='%s'"
},
{
"RULE"
,
"SELECT rulename FROM pg_rules WHERE substr(rulename,1,%d)='%s'"
},
{
"SEQUENCE"
,
"SELECT relname FROM pg_class WHERE relkind='S' and substr(relname,1,%d)='%s'"
},
{
"SEQUENCE"
,
"SELECT relname FROM pg_class WHERE relkind='S' and substr(relname,1,%d)='%s'"
},
{
"TABLE"
,
"SELECT relname FROM pg_class WHERE
relkind='r'
and substr(relname,1,%d)='%s'"
},
{
"TABLE"
,
"SELECT relname FROM pg_class WHERE
(relkind='r' or relkind='v')
and substr(relname,1,%d)='%s'"
},
{
"TEMP"
,
NULL
},
/* for CREATE TEMP TABLE ... */
{
"TEMP"
,
NULL
},
/* for CREATE TEMP TABLE ... */
{
"TRIGGER"
,
"SELECT tgname FROM pg_trigger WHERE substr(tgname,1,%d)='%s'"
},
{
"TRIGGER"
,
"SELECT tgname FROM pg_trigger WHERE substr(tgname,1,%d)='%s'"
},
{
"TYPE"
,
"SELECT typname FROM pg_type WHERE substr(typname,1,%d)='%s'"
},
{
"TYPE"
,
"SELECT typname FROM pg_type WHERE substr(typname,1,%d)='%s'"
},
...
...
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