Skip to content
Snippets Groups Projects
Commit 2078e384 authored by Heikki Linnakangas's avatar Heikki Linnakangas
Browse files

Fix range check in date_recv that tried to limit accepted values to only

those accepted by date_in(). I confused julian day numbers and number of
days since the postgres epoch 2000-01-01 in the original patch.

I just noticed that it's still easy to get such out-of-range values into
the database using to_date or +- operators, but this patch doesn't do
anything about those functions.

Per report from James Pye.
parent 9f2ee8f2
No related branches found
No related tags found
No related merge requests found
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