> I can easily get around this using .trim(), but I'm wondering if that
> should be in the jdbc driver itself (as I'll have to go through a bit of
> code looking for string values being returned).
char() is fixed length, varchar isn't.
> Or is this something in the database software itself that you can configure?
> Also, Is there a "real" Website for the postgres jdbc driver?
> http://jdbc.postgresql.org seems a little outdated.
> I wouldn't mind being able to grab the source for the driver and putting in
> this small fix myself.
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
In response to
pgsql-jdbc by date
|Next:||From: jeffdavey||Date: 2001-09-07 02:27:56|
|Subject: [Fwd: Re: Using char fields with 7.1.3 driver]|
|Previous:||From: David Wall||Date: 2001-09-07 01:28:50|
|Subject: Re: Using char fields with 7.1.3 driver|