diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-08-25 16:13:27 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-08-25 16:13:27 +0000 |
commit | a17f2d76ccc8ba0801f6d92595cf3adbc3f0c54f (patch) | |
tree | 1627076751e8b918a86fd4fbf73137d2b0ba4aff /src/backend/tcop/postgres.c | |
parent | 4b02f3c4eb447f02eb02d6549403a86b96c9b237 (diff) | |
download | postgresql-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