Re: ecmascript 5 DATESTYLE
Pavel Stehule <pavel.stehule@gmail.com>
From: Pavel Stehule <pavel.stehule@gmail.com>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Ben Hockey <neonstalwart@gmail.com>, pgsql-hackers@postgresql.org
Date: 2010-05-19T06:25:44Z
Lists: 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 >