Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCH3u-0005Dw-9g for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Jun 2016 01:53:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bCH3t-0007Pp-6L for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Jun 2016 01:53:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bCH3r-0007Pg-La for pgsql-hackers@postgresql.org; Mon, 13 Jun 2016 01:53:07 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bCH3n-0008OJ-SC for pgsql-hackers@postgresql.org; Mon, 13 Jun 2016 01:53:06 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u5D1qtIa019479; Sun, 12 Jun 2016 21:52:55 -0400 From: Tom Lane To: Robert Haas cc: Ioseph Kim , "pgsql-hackers@postgresql.org" Subject: Re: increase message string buffer size of watch command of psql In-reply-to: References: <20160612145532.GA22965@postgresql.kr> Comments: In-reply-to Robert Haas message dated "Sun, 12 Jun 2016 21:20:48 -0400" Date: Sun, 12 Jun 2016 21:52:55 -0400 Message-ID: <19478.1465782775@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) 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 Robert Haas writes: > On Sun, Jun 12, 2016 at 10:55 AM, Ioseph Kim wrote: >> 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. > This was already changed in commit dea2b5960. Well, we did part of that, but it's still using asctime(). Should we change that to strftime(..."%c"...) to be less English-centric? (The result seems to be the same in C locale. pg_controldata has done it that way for a long time, with few complaints.) If we want to do so, now would be the time, since 9.6 already whacked around the format of \watch output. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers