Re: [INTERFACES] Re: ResultSet.getDate - Mailing list pgsql-interfaces

From Thomas G. Lockhart
Subject Re: [INTERFACES] Re: ResultSet.getDate
Date
Msg-id 36B5E4C7.1BEC1645@alumni.caltech.edu
Whole thread Raw
In response to Re: [INTERFACES] Re: ResultSet.getDate  (Peter T Mount <peter@retep.org.uk>)
Responses Re: [INTERFACES] Re: ResultSet.getDate  (Peter T Mount <peter@retep.org.uk>)
List pgsql-interfaces
> Not sure. The first thing I'm thinking of, is removing the datestyle
> support, and having the driver set a datestyle to one (probably ISO)
> during the connect. AFAIK, the ODBC driver uses a similar scheme?

Yes, sorry, I'd forgotten that you don't already do this. The ODBC
driver does force the date format to ISO.

> If we still have problems, how about an internal datestyle for use by
> interfaces only (like JDBC & ODBC)?

Sure, though the ISO style is pretty well defined and parsable, so may
be the best choice for an ASCII internal format.

                   - Tom

pgsql-interfaces by date:

Previous
From: Peter T Mount
Date:
Subject: Re: [INTERFACES] Re: ResultSet.getDate
Next
From: Thorsten Lau
Date:
Subject: unsubscribe