Skip site navigation (1) Skip section navigation (2)

xlog.c timezone name size

From: "Korea PostgreSQL Users' Group" <pgsql-kr(at)postgresql(dot)or(dot)kr>
To: <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: xlog.c timezone name size
Date: 2004-03-15 19:02:17
Message-ID: 002a01c40ac0$09db92c0$0b00a8c0@paolo.net (view raw or flat)
Thread:
Lists: pgsql-hackers-win32pgsql-patches
On multibyte language locale environment of win32, size of %Z of localtime() function is bigger more then 12 bytes.

so, I suggest that change str_time() function in src/backend/access/transam/xlog.c (2765 line)

buf char array size must be at least 70 bytes (20 bytes = datetime, 50 bytes = tzname of depended local locale(?))

Current str_time() function do not return new line on korean language win32 environment.
It's same on CJK.

Responses

pgsql-patches by date

Next:From: Bruce MomjianDate: 2004-03-15 19:31:57
Subject: Re: listening addresses
Previous:From: Josh BerkusDate: 2004-03-15 18:52:15
Subject: Re: listening addresses

pgsql-hackers-win32 by date

Next:From: Claudio NatoliDate: 2004-03-16 03:02:20
Subject: win32 open patch for held unlink
Previous:From: Bruce MomjianDate: 2004-03-15 16:14:24
Subject: Re: initdb problen

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group