]> granicus.if.org Git - postgresql/commitdiff
Make the second words lowercase in psql's \d titles for unlogged tables.
authorItagaki Takahiro <itagaki.takahiro@gmail.com>
Wed, 23 Feb 2011 00:54:32 +0000 (09:54 +0900)
committerItagaki Takahiro <itagaki.takahiro@gmail.com>
Wed, 23 Feb 2011 00:58:00 +0000 (09:58 +0900)
src/bin/psql/describe.c

index 94396b191062bdc05fa272c19c250ebfe5cf23a0..9dc02a1e3dd54b3edc5c9046ddd991722d4c3e28 100644 (file)
@@ -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\""),