Hi.

----- Original Message ----- From: "Alvaro Herrera" <[EMAIL PROTECTED]>
What about this line?

#define STRLEN_MAX 255

Are we really sure the strftime format cannot be longer than that?

Ahh, although the place to replace is here, is it said that MAX_L10 N_DATA is suitable? --
cache_locale_time(void)
{
..
       char            buf[MAX_L10N_DATA];
..
               strftime(buf, MAX_L10N_DATA, "%a", timeinfo);

Regards,
Hiroshi Saito

--
Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches

Reply via email to