Re: Error message and infinite date and timestamp conversion in XML - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Error message and infinite date and timestamp conversion in XML
Date
Msg-id 200904090052.40707.peter_e@gmx.net
Whole thread Raw
In response to Re: Error message and infinite date and timestamp conversion in XML  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Friday 27 March 2009 20:59:23 Tom Lane wrote:
> Done, but I noticed while testing that it's not real consistent:
>
> regression=# select xmlelement(name foo, 'infinity'::timestamp);
> ERROR:  timestamp out of range
> DETAIL:  XML does not support infinite timestamp values.
> regression=# select xmlelement(name foo,
> xmlattributes('infinity'::timestamp as bar)); xmlelement
> -----------------------
>  <foo bar="infinity"/>
> (1 row)
>
> Should we consider doing something about that, or is it okay as-is?

Fixed.  It was a bug.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: problem with variable length user defined type
Next
From: Bruce Momjian
Date:
Subject: GUC inconsistency in 8.4?