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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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: Tue, 16 Mar 2004 04:02:17 +0900
  • Message-id: <002a01c40ac0$09db92c0$0b00a8c0(at)paolo(dot)net>

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.


Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group