Re: [INTERFACES] Re: ResultSet.getDate

Поиск
Список
Период
Сортировка
От Peter T Mount
Тема Re: [INTERFACES] Re: ResultSet.getDate
Дата
Msg-id Pine.LNX.4.04.9902011915530.10499-100000@maidast.retep.org.uk
обсуждение исходный текст
Ответ на Re: [INTERFACES] Re: ResultSet.getDate  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
Список 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 по дате отправления:

Предыдущее
От: Valerio Santinelli
Дата:
Сообщение: Re: [INTERFACES] ODBC Locking troubles
Следующее
От: Peter Garner
Дата:
Сообщение: Re: [INTERFACES] Re: ResultSet.getDate