Обсуждение: pgsql: Fix bug in our code when using to_timestamp() or to_date()

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

pgsql: Fix bug in our code when using to_timestamp() or to_date()

От
momjian@postgresql.org (Bruce Momjian)
Дата:
Log Message:
-----------
Fix bug in our code when using to_timestamp() or to_date() without "TM".

Assume "TM" when input fields are variable-length, like month or day
names.  This matches Oracle behavior.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        formatting.c (r1.118 -> r1.119)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/formatting.c.diff?r1=1.118&r2=1.119)