From 6367ed43820766e2d7387a3e0c711480be4576b8 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Mon, 22 Mar 2004 04:16:57 +0000
Subject: [PATCH] Increase xlog str_time() static string variable, per Korean
 User's Group.

---
 src/backend/access/transam/xlog.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 821b504cbf7..d07f9edaecc 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.137 2004/02/23 23:03:10 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.138 2004/03/22 04:16:57 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -2762,7 +2762,7 @@ BootStrapXLOG(void)
 static char *
 str_time(time_t tnow)
 {
-	static char buf[32];
+	static char buf[128];
 
 	strftime(buf, sizeof(buf),
 			 "%Y-%m-%d %H:%M:%S %Z",
-- 
GitLab