Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group