mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08:00
Polish SQL/MED terminology
This commit is contained in:
parent
ac79586bb2
commit
3e90346628
@ -8,7 +8,7 @@
|
||||
*
|
||||
* Copyright (c) 2000-2009, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.201 2009/02/24 10:06:34 petere Exp $
|
||||
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.202 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,
|
||||
|
@ -230,7 +230,7 @@ CREATE USER MAPPING FOR current_user SERVER s1;
|
||||
|
||||
\deu+
|
||||
List of user mappings
|
||||
Server | Username | 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 | Username
|
||||
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 | Username
|
||||
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 | Username | 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 | Username
|
||||
Server | User name
|
||||
--------+-------------------
|
||||
s4 | foreign_data_user
|
||||
s4 | public
|
||||
|
Loading…
Reference in New Issue
Block a user