Fix to_timestamp() to not require upper/lower case matching for meridian
authorBruce Momjian <bruce@momjian.us>
Sat, 7 Feb 2009 14:16:46 +0000 (14:16 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 7 Feb 2009 14:16:46 +0000 (14:16 +0000)
commitdf95b5c715c3daf687ebf5182f7175c59816e0f4
tree4431160d2ef0bcd4cdfbe5cb617b278c395fcb1d
parent5f6019104301b1e270cc6a899122a4886f53b84d
Fix to_timestamp() to not require upper/lower case matching for meridian
designations (AM/PM).  Also separate out matching of a meridian with
periods (e.g. A.M.) and with those without.

Do the same for AD/BC.

Brendan Jurd
doc/src/sgml/func.sgml
src/backend/utils/adt/formatting.c
src/test/regress/expected/horology.out
src/test/regress/sql/horology.sql