text type handling

From: "Ken Boss" <Ken(dot)Boss(at)dnr(dot)state(dot)mn(dot)us>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: text type handling
Date: 2008-12-02 21:53:21
Message-ID: 493559F1.26F2.0021.0@dnr.state.mn.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hello pgsql-jdbc--

I am working on a project where my organization would like to migrate a load of existing Oracle databases to PostgreSQL. There is a requirement, however, that we be able to continue to write reports against the databases using Crystal Reports / Crystal Enterprise. This seems to be largely possible from our Linux servers through the use of your JDBC drivers, with the one exception that postgres text datatypes appear to Crystal as String fields of length -1, which confuses the software and prohibits their use. This is particularly problematic given postgresql's proclivity for casting the results of concatenations, unions, etc. to text on-the-fly.

I see a long thread related to this topic from about a year ago here: http://archives.postgresql.org/pgsql-jdbc/2007-12/msg00145.php , but it seems to have run its course without coming to any specific conclusions. Can anyone please update me on the status of this issue? It seems a small stumbling block, but could prove to be a show-stopper if we can't get around it somehow...

Thanks,

--Ken Boss
Minnesota DNR

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2008-12-02 22:40:13 Re: text type handling
Previous Message Oliver Jowett 2008-12-02 21:37:27 Re: Connect via odbc from Windows to Linux