Re: Using char fields with 7.1.3 driver

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: jeffdavey(at)submersion(dot)com
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Using char fields with 7.1.3 driver
Date: 2001-09-07 01:38:49
Message-ID: 200109070138.f871cnm17083@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

http://jdbc.fastcrypt.com

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

Browse pgsql-jdbc by date

  From Date Subject
Next Message jeffdavey 2001-09-07 02:27:56 [Fwd: Re: Using char fields with 7.1.3 driver]
Previous Message David Wall 2001-09-07 01:28:50 Re: Using char fields with 7.1.3 driver