Re: [HACKERS] [PATCH] Change missleading comment for tm_mon field ofpg_tm structure

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [HACKERS] [PATCH] Change missleading comment for tm_mon field ofpg_tm structure
Дата
Msg-id CA+TgmoZbfNQew5t0_qw3MFYsYs3oDq=O6aMCiUNbQKYnrCDFtQ@mail.gmail.com
обсуждение исходный текст
Ответ на [HACKERS] [PATCH] Change missleading comment for tm_mon field of pg_tm structure  (Dmitry Fedin <dmitry.fedin@gmail.com>)
Список pgsql-hackers
On Thu, Jan 19, 2017 at 2:52 PM, Dmitry Fedin <dmitry.fedin@gmail.com> wrote:
> According to usages, tm_mon (month) field has origin 1, not 0. This is
> difference from C-library version of struct tm, which has origin 0 for
> real.

Hmm, thanks for noticing.  Looks like it has been wrong for a really long time.

Your patch got garbled; it had two-space indents instead of tabs, so
it didn't apply.  It's best to attach them rather than including them
inline.

Committed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Nikhil Sontakke
Дата:
Сообщение: Re: [HACKERS] Speedup twophase transactions
Следующее
От: Konstantin Knizhnik
Дата:
Сообщение: [HACKERS] Deadlock in XLogInsert at AIX