Re: correct format for date, time, timestamp for XML functionality - Mailing list pgsql-patches

From Tom Lane
Subject Re: correct format for date, time, timestamp for XML functionality
Date
Msg-id 26529.1171981844@sss.pgh.pa.us
Whole thread Raw
In response to correct format for date, time, timestamp for XML functionality  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
Responses Re: correct format for date, time, timestamp for XML functionality  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
List pgsql-patches
"Pavel Stehule" <pavel.stehule@hotmail.com> writes:
> this patch ensures independency datetime fields on current datestyle
> setting. Add new internal datestyle USE_XSD_DATESTYLE. It's almoust same to
> USE_ISO_DATESTYLE. Differences are for timestamp:

> ISO: yyyy-mm-dd hh24:mi:ss
> XSD: yyyy-mm-ddThh24:mi:ss

Why is that a good idea?  Even if some standard out there mandates the
'T', I'd bet lunch that the other format is a whole lot more portable.

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] HOT WIP Patch - version 2
Next
From: "Pavan Deolasee"
Date:
Subject: Re: [HACKERS] HOT WIP Patch - version 2