mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Make the second words lowercase in psql's \d titles for unlogged tables.
This commit is contained in:
parent
bdca82f44d
commit
5a922f13ef
@ -1297,7 +1297,7 @@ describeOneTableDetails(const char *schemaname,
|
||||
{
|
||||
case 'r':
|
||||
if (tableinfo.relpersistence == 'u')
|
||||
printfPQExpBuffer(&title, _("Unlogged Table \"%s.%s\""),
|
||||
printfPQExpBuffer(&title, _("Unlogged table \"%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 Index \"%s.%s\""),
|
||||
printfPQExpBuffer(&title, _("Unlogged index \"%s.%s\""),
|
||||
schemaname, relationname);
|
||||
else
|
||||
printfPQExpBuffer(&title, _("Index \"%s.%s\""),
|
||||
|
Loading…
Reference in New Issue
Block a user