[HACKERS] Bug or feature? Timestamp parsing

2010-06-09 Thread Josh Berkus
select 'NOW?'::TIMESTAMP; timestamp 2010-06-09 14:08:21.020259 postgres=# select ';;;infinity?...@$%$'::TIMESTAMP; timestamp --- infinity (1 row) It appears that the ts parser will ignore any punctuation surrounding the special value calls. In

Re: [HACKERS] Bug or feature? Timestamp parsing

2010-06-09 Thread Tom Lane
Josh Berkus j...@agliodbs.com writes: It appears that the ts parser will ignore any punctuation surrounding the special value calls. The datetime parser ignores extraneous punctuation all over the place, not only with regards to special values. I'm hesitant to monkey with that, because there