Fix strftime usage on Win32 when trying to fetch the locale-aware
authorMagnus Hagander <magnus@hagander.net>
Fri, 9 Jan 2009 13:03:55 +0000 (13:03 +0000)
committerMagnus Hagander <magnus@hagander.net>
Fri, 9 Jan 2009 13:03:55 +0000 (13:03 +0000)
commite2ee1cf4d1a9f6d5c3d7018dfdff6654cbfe81f3
tree70b41981cab24477735b9060543351c5394386b3
parent763bcbc6ea9bd043d8853695a047aacaf8c5222e
Fix strftime usage on Win32 when trying to fetch the locale-aware
parts of a time string so it properly handles different encodings.

Original patch by Hiroshi Saito, heavily reworked by me and
ITAGAKI Takahiro.
src/backend/utils/adt/pg_locale.c