Implement TZH and TZM timestamp format patterns
Andrew Dunstan <andrew@dunslane.net>
Implement TZH and TZM timestamp format patterns These are compatible with Oracle and required for the datetime template language for jsonpath in an upcoming patch. Nikita Glukhov and Andrew Dunstan, reviewed by Pavel Stehule.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +8 −0 |
| src/backend/utils/adt/formatting.c | modified | +65 −4 |
| src/test/regress/expected/horology.out | modified | +30 −0 |
| src/test/regress/expected/timestamptz.out | modified | +43 −29 |
| src/test/regress/sql/horology.sql | modified | +6 −0 |
| src/test/regress/sql/timestamptz.sql | modified | +12 −8 |