From 63bd0db12199c5df043e1dea0f2b574f622b3a4c Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 21 May 2004 05:08:06 +0000 Subject: Integrate src/timezone library for all platforms. There is more we can and should do now that we control our own destiny for timezone handling, but this commit gets the bulk of the picayune diffs in place. Magnus Hagander and Tom Lane. --- src/backend/access/transam/xlog.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/backend/access/transam/xlog.c') diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index b6199706f67..2d92c0c0c02 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.140 2004/05/07 00:24:57 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.141 2004/05/21 05:07:56 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -18,7 +18,6 @@ #include #include #include -#include #include "access/clog.h" #include "access/transam.h" @@ -2764,9 +2763,9 @@ str_time(time_t tnow) { static char buf[128]; - strftime(buf, sizeof(buf), + pg_strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S %Z", - localtime(&tnow)); + pg_localtime(&tnow)); return buf; } -- cgit v1.2.3