diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-11-12 01:36:20 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-11-12 01:36:20 +0000 |
commit | d1ab3eb7120962327401334903d4e30681d10ae0 (patch) | |
tree | f0707a19f16722af2b94911d2f161a1a98f24eeb /src/backend/utils/adt/arrayfuncs.c | |
parent | 466368b8d00cf4a8d54270c3d12149d81badd1ab (diff) | |
download | postgresql-d1ab3eb7120962327401334903d4e30681d10ae0.tar.gz postgresql-d1ab3eb7120962327401334903d4e30681d10ae0.zip |
Clean up the ancient decision to show only two fractional-seconds digits
in "postgres_verbose" intervalstyle, and the equally arbitrary decision to
show at least two fractional-seconds digits in most other datetime display
styles. This results in some minor changes in the expected regression test
outputs.
Also, coalesce a lot of repetitive code in datetime.c into subroutines,
for clarity and ease of maintenance. In particular this roughly halves
the number of #ifdef HAVE_INT64_TIMESTAMP segments.
Ron Mayer, with some additional kibitzing from Tom Lane
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions