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
95c833b4
Commit
95c833b4
authored
Mar 01, 2010
by
Heikki Linnakangas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix translation of strings in psql \d output (translation in headers worked,
but not in cells).
parent
93df658a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/bin/psql/print.c
src/bin/psql/print.c
+3
-2
No files found.
src/bin/psql/print.c
View file @
95c833b4
...
...
@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2010, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.12
3 2010/03/01 20:55:45
heikki Exp $
* $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.12
4 2010/03/01 21:27:26
heikki Exp $
*/
#include "postgres_fe.h"
...
...
@@ -2106,6 +2106,7 @@ printTableAddHeader(printTableContent *const content, const char *header,
* Otherwise, the cell will not be translated.
*
* If mustfree is true, the cell string is freed by printTableCleanup().
* Note: Automatic freeing of translatable strings is not supported.
*/
void
printTableAddCell
(
printTableContent
*
const
content
,
const
char
*
cell
,
...
...
@@ -2128,7 +2129,7 @@ printTableAddCell(printTableContent *const content, const char *cell,
#ifdef ENABLE_NLS
if
(
translate
)
*
content
->
header
=
_
(
*
content
->
header
);
*
content
->
cell
=
_
(
*
content
->
cell
);
#endif
if
(
mustfree
)
...
...
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