diff options
author | Bruce Momjian <bruce@momjian.us> | 2005-07-20 16:42:32 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2005-07-20 16:42:32 +0000 |
commit | db05f4a7eb6c80c67c25ca9d28be825b99ed3553 (patch) | |
tree | dee67dee9058a0243609c838c6be521143d23f3b /contrib/btree_gist/btree_interval.c | |
parent | 826604f9e61c233c4229a3eb4d1ee3945691ee1b (diff) | |
download | postgresql-db05f4a7eb6c80c67c25ca9d28be825b99ed3553.tar.gz postgresql-db05f4a7eb6c80c67c25ca9d28be825b99ed3553.zip |
Add 'day' field to INTERVAL so 1 day interval can be distinguished from
24 hours. This is very helpful for daylight savings time:
select '2005-05-03 00:00:00 EST'::timestamp with time zone + '24 hours';
?column?
----------------------
2005-05-04 01:00:00-04
select '2005-05-03 00:00:00 EST'::timestamp with time zone + '1 day';
?column?
----------------------
2005-05-04 01:00:00-04
Michael Glaesemann
Diffstat (limited to 'contrib/btree_gist/btree_interval.c')
0 files changed, 0 insertions, 0 deletions