diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2009-10-26 16:13:11 +0000 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2009-10-26 16:13:11 +0000 |
commit | 2078e384a3ac148b48973c0d67bce90d5792fe3b (patch) | |
tree | 668cbbcc3867e4ca1a22372ee9b2f3396bae71cc /src/backend/parser/parse_expr.c | |
parent | 9f2ee8f287098fb8067593b38da0650df458b20a (diff) | |
download | postgresql-2078e384a3ac148b48973c0d67bce90d5792fe3b.tar.gz postgresql-2078e384a3ac148b48973c0d67bce90d5792fe3b.zip |
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.
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions