Error message and infinite date and timestamp conversion in XML

From: Bernd Helmle <mailings(at)oopsware(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Error message and infinite date and timestamp conversion in XML
Date: 2009-03-26 23:30:21
Message-ID: 41F26B729B014C3E8F20F5B7@teje
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


map_sql_value_to_xml_value() currently errors out with a more or less vague
error message, when a date or timestamp datatype with an infinite value is
converted to XML. This is likely to create some confusion, especially when
you have to debug some complex procedures and involved XML conversions. I
propose to add the attached DETAIL to this error message, so people will
get an idea what's currently going wrong.

--
Thanks

Bernd

Attachment Content-Type Size
errdetail_xml_date_values.patch text/x-diff 1.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dann Corbit 2009-03-26 23:47:46 One click installer and pgInstaller collide
Previous Message Josh Berkus 2009-03-26 23:19:10 Re: maintenance_work_mem and autovacuum