Make the second words lowercase in psql's \d titles for unlogged tables.

This commit is contained in:
Itagaki Takahiro 2011-02-23 09:54:32 +09:00
parent bdca82f44d
commit 5a922f13ef

View File

@ -1297,7 +1297,7 @@ describeOneTableDetails(const char *schemaname,
{ {
case 'r': case 'r':
if (tableinfo.relpersistence == 'u') if (tableinfo.relpersistence == 'u')
printfPQExpBuffer(&title, _("Unlogged Table \"%s.%s\""), printfPQExpBuffer(&title, _("Unlogged table \"%s.%s\""),
schemaname, relationname); schemaname, relationname);
else else
printfPQExpBuffer(&title, _("Table \"%s.%s\""), printfPQExpBuffer(&title, _("Table \"%s.%s\""),
@ -1313,7 +1313,7 @@ describeOneTableDetails(const char *schemaname,
break; break;
case 'i': case 'i':
if (tableinfo.relpersistence == 'u') if (tableinfo.relpersistence == 'u')
printfPQExpBuffer(&title, _("Unlogged Index \"%s.%s\""), printfPQExpBuffer(&title, _("Unlogged index \"%s.%s\""),
schemaname, relationname); schemaname, relationname);
else else
printfPQExpBuffer(&title, _("Index \"%s.%s\""), printfPQExpBuffer(&title, _("Index \"%s.%s\""),