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

From Peter T Mount
Subject Re: [INTERFACES] Re: ResultSet.getDate
Date
Msg-id Pine.LNX.4.04.9902011915530.10499-100000@maidast.retep.org.uk
Whole thread Raw
In response to Re: [INTERFACES] Re: ResultSet.getDate  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
List pgsql-interfaces
On Mon, 1 Feb 1999, Thomas G. Lockhart wrote:

> > 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.

This is probably the way I will go.

Peter

--
       Peter T Mount peter@retep.org.uk
      Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
 Java PDF Generator: http://www.retep.org.uk/pdf


pgsql-interfaces by date:

Previous
From: Valerio Santinelli
Date:
Subject: Re: [INTERFACES] ODBC Locking troubles
Next
From: Peter Garner
Date:
Subject: Re: [INTERFACES] Re: ResultSet.getDate