Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bC6oF-0004EI-Dn for pgsql-hackers@arkaria.postgresql.org; Sun, 12 Jun 2016 14:56:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bC6oE-0005O0-HE for pgsql-hackers@arkaria.postgresql.org; Sun, 12 Jun 2016 14:56:18 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bC6oC-0005NG-9A for pgsql-hackers@postgresql.org; Sun, 12 Jun 2016 14:56:16 +0000 Received: from [220.116.169.89] (helo=cubox) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bC6o7-0006sl-RP for pgsql-hackers@postgresql.org; Sun, 12 Jun 2016 14:56:13 +0000 Received: by cubox (Postfix, from userid 1003) id 4B2896063; Sun, 12 Jun 2016 23:55:32 +0900 (KST) Date: Sun, 12 Jun 2016 23:55:32 +0900 From: Ioseph Kim To: pgsql-hackers@postgresql.org Subject: increase message string buffer size of watch command of psql Message-ID: <20160612145532.GA22965@postgresql.kr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.21 (2010-09-15) X-Host-Lookup-Failed: Reverse DNS lookup failed for 220.116.169.89 (failed) X-Pg-Spam-Score: 0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Hello. In po.ko (korean message) at psql #: command.c:2971 #, c-format msgid "Watch every %lds\t%s" msgstr "%ld초 간격으로 지켜보기\t%s" this message string is a cut string, because buffer size is small. At line 2946 in src/bin/psql/command.c char title[50]; size of message string for korean is over 50 bytes. (at least 80 columns terminal for common) Increase size of this title, please. 50 bytes is so small for multi language. And. I suggest that date string might be local language, or current_timestamp string. Regards, Ioseph. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers