Have to_date() call timestamptz_date() per Karel's email instructions.
authorThomas G. Lockhart <lockhart@alumni.caltech.edu>
Fri, 4 Jan 2002 15:49:42 +0000 (15:49 +0000)
committerThomas G. Lockhart <lockhart@alumni.caltech.edu>
Fri, 4 Jan 2002 15:49:42 +0000 (15:49 +0000)
commitc9dfe226558a79fe37ce38d5b2eb5092c8761198
treebf39b538297ba8a8b5caf7f318dcf02699b8e7c1
parent0e688f6bbb87928b9aedf7a95678646d6ca0c153
Have to_date() call timestamptz_date() per Karel's email instructions.
Fixes time zone problems introduced by Thomas' implementation of
 TIMESTAMP WITHOUT TIME ZONE which caused the behavior of the previously
 appropriate routine, timestamp_date(), to change for the worse in this
 context.
src/backend/utils/adt/formatting.c