aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/pgstatfuncs.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-12-03 16:45:23 +0000
committerBruce Momjian <bruce@momjian.us>2005-12-03 16:45:23 +0000
commitdfdec6044798adfb167c39c12a00c1bbb451a0b0 (patch)
tree156445a7fe2723cf1822fd18b6525291070cb789 /src/backend/utils/adt/pgstatfuncs.c
parent4ed2e803ef4580ed590f310574b9d6587aaa7231 (diff)
downloadpostgresql-dfdec6044798adfb167c39c12a00c1bbb451a0b0.tar.gz
postgresql-dfdec6044798adfb167c39c12a00c1bbb451a0b0.zip
Allow to_char(interval) and to_char(time) to use AM/PM specifications.
Map them to a single day, so '30 hours' is 'AM'. Have to_char(interval) and to_char(time) use "HH", "HH12" as 12-hour intervals, rather than bypass and print the full interval hours. This is neeeded because to_char(time) is mapped to interval in this function. Intervals should use "HH24", and document suggestion. Allow "D" format specifiers for interval/time.
Diffstat (limited to 'src/backend/utils/adt/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions