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
3e903466
Commit
3e903466
authored
Mar 25, 2009
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish SQL/MED terminology
parent
ac79586b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
src/bin/psql/describe.c
src/bin/psql/describe.c
+5
-5
src/test/regress/expected/foreign_data.out
src/test/regress/expected/foreign_data.out
+9
-9
No files found.
src/bin/psql/describe.c
View file @
3e903466
...
...
@@ -8,7 +8,7 @@
*
* Copyright (c) 2000-2009, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.20
1 2009/02/24 10:06:34
petere Exp $
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.20
2 2009/03/25 13:11:43
petere Exp $
*/
#include "postgres_fe.h"
...
...
@@ -2933,7 +2933,7 @@ listForeignDataWrappers(const char *pattern, bool verbose)
/*
* \des
*
* Describes foreign
-data
servers.
* Describes foreign servers.
*/
bool
listForeignServers
(
const
char
*
pattern
,
bool
verbose
)
...
...
@@ -2944,7 +2944,7 @@ listForeignServers(const char *pattern, bool verbose)
if
(
pset
.
sversion
<
80400
)
{
fprintf
(
stderr
,
_
(
"The server (version %d.%d) does not support foreign
-data
servers.
\n
"
),
fprintf
(
stderr
,
_
(
"The server (version %d.%d) does not support foreign servers.
\n
"
),
pset
.
sversion
/
10000
,
(
pset
.
sversion
/
100
)
%
100
);
return
true
;
}
...
...
@@ -3010,7 +3010,7 @@ listUserMappings(const char *pattern, bool verbose)
if
(
pset
.
sversion
<
80400
)
{
fprintf
(
stderr
,
_
(
"The server (version %d.%d) does not support
foreign-data
user mappings.
\n
"
),
fprintf
(
stderr
,
_
(
"The server (version %d.%d) does not support user mappings.
\n
"
),
pset
.
sversion
/
10000
,
(
pset
.
sversion
/
100
)
%
100
);
return
true
;
}
...
...
@@ -3020,7 +3020,7 @@ listUserMappings(const char *pattern, bool verbose)
"SELECT um.srvname AS
\"
%s
\"
,
\n
"
" um.usename AS
\"
%s
\"
"
,
gettext_noop
(
"Server"
),
gettext_noop
(
"Username"
));
gettext_noop
(
"User
name"
));
if
(
verbose
)
appendPQExpBuffer
(
&
buf
,
...
...
src/test/regress/expected/foreign_data.out
View file @
3e903466
...
...
@@ -230,7 +230,7 @@ CREATE USER MAPPING FOR current_user SERVER s1;
\deu+
List of user mappings
Server | User
name
| Options
Server | User
name
| Options
--------+-------------------+---------
s1 | foreign_data_user |
(1 row)
...
...
@@ -265,8 +265,8 @@ drop cascades to user mapping for foreign_data_user
\deu+
List of user mappings
Server | Username | Options
--------+----------+---------
Server | User
name | Options
--------+----------
-
+---------
(0 rows)
-- exercise CREATE SERVER
...
...
@@ -493,7 +493,7 @@ RESET ROLE;
CREATE USER MAPPING FOR current_user SERVER s3;
\deu
List of user mappings
Server | User
name
Server | User
name
--------+-------------------
s3 | foreign_data_user
(1 row)
...
...
@@ -519,8 +519,8 @@ NOTICE: drop cascades to user mapping for foreign_data_user
\deu
List of user mappings
Server | Username
--------+----------
Server | User
name
--------+----------
-
(0 rows)
-- CREATE USER MAPPING
...
...
@@ -553,7 +553,7 @@ CREATE USER MAPPING FOR public SERVER t1;
RESET ROLE;
\deu
List of user mappings
Server | User
name
Server | User
name
--------+-------------------
s4 | foreign_data_user
s4 | public
...
...
@@ -583,7 +583,7 @@ ALTER USER MAPPING FOR public SERVER t1 OPTIONS (ADD modified '1');
RESET ROLE;
\deu+
List of user mappings
Server | User
name
| Options
Server | User
name
| Options
--------+-------------------+-----------------------------
s4 | foreign_data_user |
s4 | public | {"mapping=is public"}
...
...
@@ -615,7 +615,7 @@ RESET ROLE;
DROP SERVER s7;
\deu
List of user mappings
Server | User
name
Server | User
name
--------+-------------------
s4 | foreign_data_user
s4 | public
...
...
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