Re: [GENERAL] to_date() accepts wrong input data

2012-10-17 Thread Tom Lane
Andreas Kretschmer writes: > Hi, > I'm a little bit astonished: > test=*# select to_date('2012/30/03','/mm/dd'); > to_date > > 2014-06-07 > (1 row) > test=*# select to_date('2013/02/29','/mm/dd'); > to_date > > 2013-03-01 > (1 row) > Bug or feature? Versi

[GENERAL] to_date() accepts wrong input data

2012-10-17 Thread Andreas Kretschmer
Hi, I'm a little bit astonished: test=*# select to_date('2012/30/03','/mm/dd'); to_date 2014-06-07 (1 row) test=*# select to_date('2013/02/29','/mm/dd'); to_date 2013-03-01 (1 row) Bug or feature? Version is 9.2.0 Andreas -- Really, I'm not out to de