Re: [INTERFACES] Re: ResultSet.getDate

From: Peter T Mount <peter(at)retep(dot)org(dot)uk>
To: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
Cc: Peter Garner <peter_garner(at)yahoo(dot)com>, PostgreSQL Interfaces List <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: [INTERFACES] Re: ResultSet.getDate
Date: 1999-02-01 19:16:14
Message-ID: Pine.LNX.4.04.9902011915530.10499-100000@maidast.retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)retep(dot)org(dot)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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter Garner 1999-02-01 21:43:48 Re: ResultSet.getDate
Previous Message Thorsten Lau 1999-02-01 18:42:30 (no subject)