aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorThomas G. Lockhart <lockhart@fourpalms.org>1999-04-15 02:22:39 +0000
committerThomas G. Lockhart <lockhart@fourpalms.org>1999-04-15 02:22:39 +0000
commitb2b3d5d184455acdc3cd91d083a0d2403af6c847 (patch)
tree7a375bff9550c579966cd417f82cd902f4a7b27d /src/backend/parser/parse_expr.c
parent64e74e30b51ba626edf4cd0147a3ff7f98469e69 (diff)
downloadpostgresql-b2b3d5d184455acdc3cd91d083a0d2403af6c847.tar.gz
postgresql-b2b3d5d184455acdc3cd91d083a0d2403af6c847.zip
Fix code to check legal dates *before* calling localtime() to get the
time zone. Previously, localtime() rotated a date with a day of month field which exceeded the actual range into the next months, masking the fact that a bad date had been specified. Regression tests pass.
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions