projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdca82f
)
Make the second words lowercase in psql's \d titles for unlogged tables.
author
Itagaki Takahiro
Wed, 23 Feb 2011 00:54:32 +0000
(09:54 +0900)
committer
Itagaki Takahiro
Wed, 23 Feb 2011 00:58:00 +0000
(09:58 +0900)
src/bin/psql/describe.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/describe.c
b/src/bin/psql/describe.c
index 94396b191062bdc05fa272c19c250ebfe5cf23a0..9dc02a1e3dd54b3edc5c9046ddd991722d4c3e28 100644
(file)
--- a/
src/bin/psql/describe.c
+++ b/
src/bin/psql/describe.c
@@
-1297,7
+1297,7
@@
describeOneTableDetails(const char *schemaname,
{
case 'r':
if (tableinfo.relpersistence == 'u')
- printfPQExpBuffer(&title, _("Unlogged
T
able \"%s.%s\""),
+ printfPQExpBuffer(&title, _("Unlogged
t
able \"%s.%s\""),
schemaname, relationname);
else
printfPQExpBuffer(&title, _("Table \"%s.%s\""),
@@
-1313,7
+1313,7
@@
describeOneTableDetails(const char *schemaname,
break;
case 'i':
if (tableinfo.relpersistence == 'u')
- printfPQExpBuffer(&title, _("Unlogged
I
ndex \"%s.%s\""),
+ printfPQExpBuffer(&title, _("Unlogged
i
ndex \"%s.%s\""),
schemaname, relationname);
else
printfPQExpBuffer(&title, _("Index \"%s.%s\""),