From 5a922f13eff66b3e437e823419d48d509d59a6be Mon Sep 17 00:00:00 2001
From: Itagaki Takahiro <itagaki.takahiro@gmail.com>
Date: Wed, 23 Feb 2011 09:54:32 +0900
Subject: [PATCH] Make the second words lowercase in psql's \d titles for
 unlogged tables.

---
 src/bin/psql/describe.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c
index 94396b19106..9dc02a1e3dd 100644
--- 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 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\""),
-- 
GitLab