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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32 pgsql-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

Browse pgsql-hackers-win32 by date

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

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-03-15 19:31:57 Re: listening addresses
Previous Message Josh Berkus 2004-03-15 18:52:15 Re: listening addresses