Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bDLMx-00048t-Ul for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Jun 2016 00:41:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bDLMw-0004lr-DY for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Jun 2016 00:41:14 +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 1bDLMu-0004li-R7 for pgsql-hackers@postgresql.org; Thu, 16 Jun 2016 00:41:12 +0000 Received: from [220.116.169.89] (helo=cubox) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bDLMq-0000Cd-AJ for pgsql-hackers@postgresql.org; Thu, 16 Jun 2016 00:41:11 +0000 Received: from [192.168.1.4] (unknown [211.55.60.36]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by cubox (Postfix) with ESMTPSA id E189AB55C; Thu, 16 Jun 2016 09:40:53 +0900 (KST) Subject: Re: increase message string buffer size of watch command of psql To: Tom Lane , Alvaro Herrera References: <20160615203803.GA25616@alvherre.pgsql> <22741.1466033845@sss.pgh.pa.us> Cc: Robert Haas , "pgsql-hackers@postgresql.org" From: Ioseph Kim Message-ID: <5761F594.4040301@postgresql.kr> Date: Thu, 16 Jun 2016 09:40:52 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <22741.1466033845@sss.pgh.pa.us> Content-Type: text/plain; charset=euc-kr Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 220.116.169.89 (failed) X-Pg-Spam-Score: -1.1 (-) 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 Thanks, I agree that strftime() is better then asctime(). regards, Ioseph 2016년 06월 16일 08:37에 Tom Lane 이(가) 쓴 글: > Alvaro Herrera writes: >> +1 to strftime("%c"). If we wanted to provide additional flexibility we >> could have a \pset option to change the strftime format string to >> something other than %c, but I don't think there's enough demand to >> justify it. > Agreed, that seems like something for later (or never). Pushed that way. > > I also widened the buffer a bit in the back branches, to address the > original complaint. > > 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