Skip to content
Snippets Groups Projects
Commit a17f2d76 authored by Tom Lane's avatar Tom Lane
Browse files

Refactor code so that to_date() does not call to_timestamp() and then

perform a timestamp-to-date coercion.  Instead both routines share a
subroutine that delivers the parsing result as a struct tm.  This avoids
problems with timezone dependency of to_date's result, and should be
at least marginally faster too.
parent 4b02f3c4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment