pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ResultSet.getDate throws too long
2+ messages / 2 participants
[nested] [flat]

* ResultSet.getDate throws too long
@ 2006-02-19 10:55  Konstantinos Agouros <elwood@agouros.de>
  0 siblings, 1 reply; 2+ messages in thread

From: Konstantinos Agouros @ 2006-02-19 10:55 UTC (permalink / raw)
  To: pgsql-jdbc

Hi,

I am using the 74 driver on a 8.0.3 Database. Using getDate on a
resultSet I get an error claiming, that it is too long. I sent
a set pgdatestyle='German' before retreiving the data. Is this a
known bug?

Regards,

Konstantin
-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185
----------------------------------------------------------------------------
"Captain, this ship will not survive the forming of the cosmos." B'Elana Torres



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: ResultSet.getDate throws too long
@ 2006-02-19 18:04  Oliver Jowett <oliver@opencloud.com>
  parent: Konstantinos Agouros <elwood@agouros.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Oliver Jowett @ 2006-02-19 18:04 UTC (permalink / raw)
  To: Konstantinos Agouros <elwood@agouros.de>; +Cc: pgsql-jdbc

Konstantinos Agouros wrote:

> I am using the 74 driver on a 8.0.3 Database.

This is not a supported configuration to begin with. Use an 8.0 or later 
driver to talk to an 8.0 database.

> Using getDate on a
> resultSet I get an error claiming, that it is too long. I sent
> a set pgdatestyle='German' before retreiving the data. 

.. and changing the datestyle is sure to confuse the driver, too. Don't 
do that.

-O



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-02-19 18:04 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-02-19 10:55 ResultSet.getDate throws too long Konstantinos Agouros <elwood@agouros.de>
2006-02-19 18:04 ` Oliver Jowett <oliver@opencloud.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox