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
6132387d
Commit
6132387d
authored
Feb 25, 1998
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make changes to psql so that it sees pg_user again instead of db_user
parent
780068f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/bin/psql/psql.c
src/bin/psql/psql.c
+6
-6
No files found.
src/bin/psql/psql.c
View file @
6132387d
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.13
4 1998/02/23 19:26
:36 scrappy Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.13
5 1998/02/25 14:50
:36 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -333,7 +333,7 @@ tableList(PsqlSettings *pset, bool deep_tablelist, char info_type,
listbuf
[
0
]
=
'\0'
;
strcat
(
listbuf
,
"SELECT usename, relname, relkind, relhasrules "
);
strcat
(
listbuf
,
"FROM pg_class,
db
_user "
);
strcat
(
listbuf
,
"FROM pg_class,
pg
_user "
);
switch
(
info_type
)
{
case
't'
:
...
...
@@ -351,9 +351,9 @@ tableList(PsqlSettings *pset, bool deep_tablelist, char info_type,
break
;
}
if
(
!
system_tables
)
strcat
(
listbuf
,
" and relname !~ '^
[dp][bg]
_'"
);
strcat
(
listbuf
,
" and relname !~ '^
pg
_'"
);
else
strcat
(
listbuf
,
" and relname ~ '^
[dp][bg]
_'"
);
strcat
(
listbuf
,
" and relname ~ '^
pg
_'"
);
strcat
(
listbuf
,
" and relname !~ '^xin[vx][0-9]+'"
);
/*
...
...
@@ -492,9 +492,9 @@ rightsList(PsqlSettings *pset)
listbuf
[
0
]
=
'\0'
;
strcat
(
listbuf
,
"SELECT relname, relacl "
);
strcat
(
listbuf
,
"FROM pg_class,
db
_user "
);
strcat
(
listbuf
,
"FROM pg_class,
pg
_user "
);
strcat
(
listbuf
,
"WHERE ( relkind = 'r' OR relkind = 'i' OR relkind = 'S') "
);
strcat
(
listbuf
,
" and relname !~ '^
[dp][bg]
_'"
);
strcat
(
listbuf
,
" and relname !~ '^
pg
_'"
);
strcat
(
listbuf
,
" and relname !~ '^xin[vx][0-9]+'"
);
strcat
(
listbuf
,
" and usesysid = relowner"
);
strcat
(
listbuf
,
" ORDER BY relname "
);
...
...
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