git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 8b07aee) | patch
Allow negative years in make_date to represent BC years
2017年1月19日 12:45:38 +0000 (09:45 -0300)
2017年1月19日 12:45:38 +0000 (09:45 -0300)
commit 30bcebbdcf23eb8b78e553c4b3b5eb847410ef19
Allow negative years in make_date to represent BC years

There doesn't seem to be any reason not to allow negative years to be
interpreted as BC, so do that.

The documentation is pretty vague on the details of this function, so
nothing needs to change there.

Reported-by: Andy Abelisto, in bug #14446
src/backend/utils/adt/date.c diff | blob | blame | history
src/test/regress/expected/date.out diff | blob | blame | history
src/test/regress/sql/date.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /