Re: Meridiem markers (was: [BUGS] Incorrect "invalid AM/PM string" error from to_timestamp)

Поиск
Список
Период
Сортировка
От Brendan Jurd
Тема Re: Meridiem markers (was: [BUGS] Incorrect "invalid AM/PM string" error from to_timestamp)
Дата
Msg-id 37ed240d0901262209h18de77dbnbcaf0079a6203e8a@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Meridiem markers (was: [BUGS] Incorrect "invalid AM/PM string" error from to_timestamp)  (Brendan Jurd <direvus@gmail.com>)
Ответы Re: Re: Meridiem markers (was: [BUGS] Incorrect "invalid AM/PM string" error from to_timestamp)  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Tue, Jan 27, 2009 at 3:25 PM, Brendan Jurd <direvus@gmail.com> wrote:
> On Tue, Jan 27, 2009 at 3:05 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>
>> strncpy is generally deprecated; any remaining uses you find of it
>> are probably only there for lack of round tuits.  Use strlcpy in new
>> code, unless there's a pretty strong argument that strncpy is actually
>> clearer for a given usage.
>>
>
> Thanks for clearing that up Tom.  I will update the patch to use
> strlcpy shortly.
>

Okay, I've attached a new version of the patch with strlcpy used in
from_char_set_int_len() and from_char_seq_search().  I've also
included an incremental patch which shows the differences between
version 0 and version 1.

Cheers,
BJ

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: 8.4 release planning
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: 8.4 release planning