|
|||||||||||
|
[JDBC] TypeInfoCache
From: Jan de Visser <jdevisser(at)digitalfairway.com>
Date: Wed Dec 19 2007 - 20:39:29 EST
I was about to write the same thing. For educational value, this is what a popular closed-source dbms will tell you:
SQL> create table a ( a varchar );
*
ERROR at line 1: xxx-00906: missing left parenthesis
SQL> create table a (a varchar(4001));
*
ERROR at line 1: xxx-00910: specified length too long for its datatype SQL> create table a (a varchar(4000)); Table created. That's right, textual data longer than 4000 characters needs to go through the CLOB interface. And my license doesn't permit me to say what that does to performance :) So what Daniel is trying to say here is that Crystal Report probably croaks on a column for the type is Types.VARCHAR but which does not have a maximum length associated with it. I think his patch is good. jan ---------------------------(end of broadcast)---------------------------TIP 7: You can help support the PostgreSQL project by donating at
http://www.postgresql.org/about/donate
Received on Wed Dec 19 20:41:13 2007This archive was generated by hypermail 2.1.8 : Wed Jun 18 2008 - 23:41:46 EDT |
||||||||||
|
|||||||||||