pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: text type handling
3+ messages / 3 participants
[nested] [flat]

* Re: text type handling
@ 2009-06-20 15:24  Kris Jurka <books@ejurka.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Kris Jurka @ 2009-06-20 15:24 UTC (permalink / raw)
  To: Ken Boss <Ken.Boss@dnr.state.mn.us>; +Cc: pgsql-jdbc; Daniel Migowski <dmigowski@ikoffice.de>



On Wed, 3 Dec 2008, Kris Jurka wrote:

> OK, this is the exactly the data we need.  So neither Daniel's nor my 
> solution are completely adequate.  It seems what we need is an option to 
> specify the precision value returned for unknown length items.  That will 
> allow you to set it to whatever value you want.

I have added a new URL parameter, unknownLength, to allow the user to 
specify the desired return value for types of unknown length.

Kris Jurka



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

* Re: text type handling
@ 2011-01-07 09:59  Marc <marc.guegueniat@orange-ftgroup.com>
  parent: Kris Jurka <books@ejurka.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Marc @ 2011-01-07 09:59 UTC (permalink / raw)
  To: pgsql-jdbc


Hi,

Sorry for digging up an old post but I'm facing the descibed problem and
have some wondering about.
I'm using Crytal Report whith postgresql via the driver jdbc4 9 0 801.
The text columns are shown in CR as String of length -1 (hence producing
hazardous character in report)

I've read the discussion but could not understand if any correction has been
implemented or not. (discussion dates from 8.3 or 8.4)
I don't see how to deal with the above mentioned parameter unknownLength.
Can I access it and set it myself?

Thanks for your time
Marc
-- 
View this message in context: http://postgresql.1045698.n5.nabble.com/text-type-handling-tp2175473p3331613.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.



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

* Re: text type handling
@ 2011-01-07 17:28  Maciek Sakrejda <msakrejda@truviso.com>
  parent: Marc <marc.guegueniat@orange-ftgroup.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Maciek Sakrejda @ 2011-01-07 17:28 UTC (permalink / raw)
  To: Marc <marc.guegueniat@orange-ftgroup.com>; +Cc: pgsql-jdbc

> I've read the discussion but could not understand if any correction has been
> implemented or not. (discussion dates from 8.3 or 8.4)
> I don't see how to deal with the above mentioned parameter unknownLength.
> Can I access it and set it myself?

Yes, this is a jdbc URL parameter as of 8.4 (?)--e.g.,
jdbc:postgresql://localhost/postgres?unknownLength=500 . See
http://jdbc.postgresql.org/documentation/84/connect.html .
---
Maciek Sakrejda | System Architect | Truviso

1065 E. Hillsdale Blvd., Suite 215
Foster City, CA 94404
(650) 242-3500 Main
www.truviso.com



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


end of thread, other threads:[~2011-01-07 17:28 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-06-20 15:24 Re: text type handling Kris Jurka <books@ejurka.com>
2011-01-07 09:59 ` Marc <marc.guegueniat@orange-ftgroup.com>
2011-01-07 17:28   ` Maciek Sakrejda <msakrejda@truviso.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