Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCrdk-0002pv-7P for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Jun 2016 16:56:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bCrdj-0001TD-Ly for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Jun 2016 16:56:35 +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 1bCrdj-0001T7-6k for pgsql-hackers@postgresql.org; Tue, 14 Jun 2016 16:56:35 +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 1bCrdf-0000tR-C8 for pgsql-hackers@postgresql.org; Tue, 14 Jun 2016 16:56:34 +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 u5EGuNmF020133; Tue, 14 Jun 2016 12:56:23 -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: <19478.1465782775@sss.pgh.pa.us> References: <20160612145532.GA22965@postgresql.kr> <19478.1465782775@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Sun, 12 Jun 2016 21:52:55 -0400" Date: Tue, 14 Jun 2016 12:56:23 -0400 Message-ID: <20132.1465923383@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 I wrote: > 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. I take it from the vast silence that nobody particularly cares one way or the other. On reflection I think that this would be a good change to make, so I'll go do so unless I hear complaints soon. 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