pgsql: Fix parsing of time string followed by yesterday/today/tomorrow.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Fix parsing of time string followed by yesterday/today/tomorrow.
Дата
Msg-id E1QyQP0-0001P5-HD@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix parsing of time string followed by yesterday/today/tomorrow.

Previously, 'yesterday 04:00:00'::timestamp didn't do the same thing as
'04:00:00 yesterday'::timestamp, and the return value from the latter
was midnight rather than the specified time.

Dean Rasheed, with some stylistic changes

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8a3d33c8e6c681d512f79af4a521ee0c02befcef

Modified Files
--------------
src/backend/utils/adt/datetime.c       |   23 ++++------
src/test/regress/expected/horology.out |   78 ++++++++++++++++++++++++++++++++
src/test/regress/sql/horology.sql      |   13 +++++
3 files changed, 100 insertions(+), 14 deletions(-)


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

Предыдущее
От: albe@pgfoundry.org (User Albe)
Дата:
Сообщение: oracle-fdw - oracle_fdw: Add DOCS to Makefile.
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Detect out of date flex in MSVC builds.