Обсуждение: pgsql-server/src backend/utils/adt/datetime.c ...

Поиск
Список
Период
Сортировка

pgsql-server/src backend/utils/adt/datetime.c ...

От
tgl@svr1.postgresql.org (Tom Lane)
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    03/08/05 15:30:21

Modified files:
    src/backend/utils/adt: datetime.c
    src/include/utils: datetime.h

Log message:
    Improve documentation of ParseDateTime().  Reorder tests to prevent
    writing one more value into return arrays than will fit.  This is
    potentially a stack smash, though I do not think it is a problem in
    current uses of the routine, since a failure return causes elog anyway.