aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-08-25 16:13:27 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-08-25 16:13:27 +0000
commita17f2d76ccc8ba0801f6d92595cf3adbc3f0c54f (patch)
tree1627076751e8b918a86fd4fbf73137d2b0ba4aff /src/backend/tcop/postgres.c
parent4b02f3c4eb447f02eb02d6549403a86b96c9b237 (diff)
downloadpostgresql-a17f2d76ccc8ba0801f6d92595cf3adbc3f0c54f.tar.gz
postgresql-a17f2d76ccc8ba0801f6d92595cf3adbc3f0c54f.zip
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.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions