Re: ecmascript 5 DATESTYLE - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: ecmascript 5 DATESTYLE
Date
Msg-id AANLkTilBUUrEv5CucWlCjG7fvT7lWt_LN4kK0AI55w5U@mail.gmail.com
Whole thread Raw
In response to Re: ecmascript 5 DATESTYLE  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: ecmascript 5 DATESTYLE
List pgsql-hackers
2010/5/19 Peter Eisentraut <peter_e@gmx.net>:
> On tis, 2010-05-18 at 18:26 -0400, Ben Hockey wrote:
>> ecmascript 5 is the most recent specification for JavaScript and i
>> would think that having a DATESTYLE format to simplify
>> interoperability with JavaScript applications would be highly
>> desirable.
>
> Note that we haven't got any other datestyles that are intended to
> support interoperability with some language.  It is usually the job of
> the client driver to convert PostgreSQL data (plural of datum) to the
> appropriate type and format for the client environment or language.  Is
> there any reason why JavaScript would be different?

JavaScript isn't special language, but JSON is wide used format for
interoperability. And same is true for XML datestyle format.

Regards
Pavel
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: ecmascript 5 DATESTYLE
Next
From: Mike Fowler
Date:
Subject: Re: ecmascript 5 DATESTYLE