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
25593d7d
Commit
25593d7d
authored
Apr 16, 2021
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
psql: Small fixes for better translatability
parent
254a2164
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
src/bin/psql/describe.c
src/bin/psql/describe.c
+1
-1
src/bin/psql/help.c
src/bin/psql/help.c
+4
-3
src/test/regress/expected/psql.out
src/test/regress/expected/psql.out
+3
-3
No files found.
src/bin/psql/describe.c
View file @
25593d7d
...
...
@@ -4088,7 +4088,7 @@ listTables(const char *tabtypes, const char *pattern, bool verbose, bool showSys
(
showTables
||
showMatViews
||
showIndexes
))
appendPQExpBuffer
(
&
buf
,
",
\n
am.amname as
\"
%s
\"
"
,
gettext_noop
(
"Access
M
ethod"
));
gettext_noop
(
"Access
m
ethod"
));
/*
* As of PostgreSQL 9.0, use pg_table_size() to show a more accurate
...
...
src/bin/psql/help.c
View file @
25593d7d
...
...
@@ -240,8 +240,8 @@ slashUsage(unsigned short int pager)
fprintf
(
output
,
_
(
"
\\
des[+] [PATTERN] list foreign servers
\n
"
));
fprintf
(
output
,
_
(
"
\\
deu[+] [PATTERN] list user mappings
\n
"
));
fprintf
(
output
,
_
(
"
\\
dew[+] [PATTERN] list foreign-data wrappers
\n
"
));
fprintf
(
output
,
_
(
"
\\
df[anptw][S+] [FUNCPTRN [TYPEPTRN ...]]
\n
"
));
fprintf
(
output
,
_
(
" list [only agg/normal/procedure/trigger/window] functions
\n
"
));
fprintf
(
output
,
_
(
"
\\
df[anptw][S+] [FUNCPTRN [TYPEPTRN ...]]
\n
"
" list [only agg/normal/procedure/trigger/window] functions
\n
"
));
fprintf
(
output
,
_
(
"
\\
dF[+] [PATTERN] list text search configurations
\n
"
));
fprintf
(
output
,
_
(
"
\\
dFd[+] [PATTERN] list text search dictionaries
\n
"
));
fprintf
(
output
,
_
(
"
\\
dFp[+] [PATTERN] list text search parsers
\n
"
));
...
...
@@ -252,7 +252,8 @@ slashUsage(unsigned short int pager)
fprintf
(
output
,
_
(
"
\\
dL[S+] [PATTERN] list procedural languages
\n
"
));
fprintf
(
output
,
_
(
"
\\
dm[S+] [PATTERN] list materialized views
\n
"
));
fprintf
(
output
,
_
(
"
\\
dn[S+] [PATTERN] list schemas
\n
"
));
fprintf
(
output
,
_
(
"
\\
do[S] [OPPTRN [TYPEPTRN [TYPEPTRN]]] list operators
\n
"
));
fprintf
(
output
,
_
(
"
\\
do[S] [OPPTRN [TYPEPTRN [TYPEPTRN]]]
\n
"
" list operators
\n
"
));
fprintf
(
output
,
_
(
"
\\
dO[S+] [PATTERN] list collations
\n
"
));
fprintf
(
output
,
_
(
"
\\
dp [PATTERN] list table, view, and sequence access privileges
\n
"
));
fprintf
(
output
,
_
(
"
\\
dP[itn+] [PATTERN] list [only index/table] partitioned relations [n=nested]
\n
"
));
...
...
src/test/regress/expected/psql.out
View file @
25593d7d
...
...
@@ -2846,7 +2846,7 @@ Access method: heap
-- AM is displayed for tables, indexes and materialized views.
\d+
List of relations
Schema | Name | Type | Owner | Persistence | Access
M
ethod | Size | Description
Schema | Name | Type | Owner | Persistence | Access
m
ethod | Size | Description
-----------------+--------------------+-------------------+----------------------+-------------+---------------+---------+-------------
tableam_display | mat_view_heap_psql | materialized view | regress_display_role | permanent | heap_psql | 0 bytes |
tableam_display | tbl_heap | table | regress_display_role | permanent | heap | 0 bytes |
...
...
@@ -2856,7 +2856,7 @@ Access method: heap
\dt+
List of relations
Schema | Name | Type | Owner | Persistence | Access
M
ethod | Size | Description
Schema | Name | Type | Owner | Persistence | Access
m
ethod | Size | Description
-----------------+---------------+-------+----------------------+-------------+---------------+---------+-------------
tableam_display | tbl_heap | table | regress_display_role | permanent | heap | 0 bytes |
tableam_display | tbl_heap_psql | table | regress_display_role | permanent | heap_psql | 0 bytes |
...
...
@@ -2864,7 +2864,7 @@ Access method: heap
\dm+
List of relations
Schema | Name | Type | Owner | Persistence | Access
M
ethod | Size | Description
Schema | Name | Type | Owner | Persistence | Access
m
ethod | Size | Description
-----------------+--------------------+-------------------+----------------------+-------------+---------------+---------+-------------
tableam_display | mat_view_heap_psql | materialized view | regress_display_role | permanent | heap_psql | 0 bytes |
(1 row)
...
...
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