]> granicus.if.org Git - postgresql/commit
Change EXTRACT(EPOCH FROM timestamp) so that a timestamp without time zone
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 27 Feb 2003 21:36:58 +0000 (21:36 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 27 Feb 2003 21:36:58 +0000 (21:36 +0000)
commit191ef2b407f065544ceed5700e42400857d9270f
tree75e3a3f92f7ab361b486fa8d609d1ae4093d5ba0
parent3d1a1e85cfee5dc60debcbedfec8c147ddd40ec4
Change EXTRACT(EPOCH FROM timestamp) so that a timestamp without time zone
is assumed to be in local time, not GMT.  This improves consistency with
other operations, which all assume local timezone when it matters.  Per
bug #897.
src/backend/utils/adt/timestamp.c