X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B725652997 for ; Fri, 22 Jul 2005 13:00:37 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 23416-02 for ; Fri, 22 Jul 2005 16:00:32 +0000 (GMT) Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by svr1.postgresql.org (Postfix) with ESMTP id 4F27852989 for ; Fri, 22 Jul 2005 13:00:27 -0300 (ADT) Received: from jfradkin ([66.15.127.235]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IK1005MNDSF1RS8@vms042.mailsrvcs.net> for pgsql-odbc@postgresql.org; Fri, 22 Jul 2005 11:00:16 -0500 (CDT) Date: Fri, 22 Jul 2005 12:01:31 -0400 From: "Joel Fradkin" Subject: Re: MaxLongVarcharSize=8190; In-reply-to: To: "'Dave Page'" , Cc: Message-id: <000401c58ed6$a1065720$797ba8c0@jfradkin> MIME-version: 1.0 Content-type: multipart/alternative; boundary="----=_NextPart_000_0005_01C58EB5.19F4B720" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=2.856 tagged_above=0 required=5 tests=AWL, HTML_MESSAGE, MSGID_DOLLARS X-Spam-Level: ** X-Archive-Number: 200507/117 X-Sequence-Number: 5583 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C58EB5.19F4B720 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable =20 I am concerned about trying to convert to unicode and the new drivers = again, because last time my tests went smoth (using the non libpq driver) and = in production it fell like a punctured blimp. I wasted like 18hours of my = time (not totally least I have a current data set in unicode to test with). =20 In what way? Is that what was crashing in the night? =20 I am not sure what was crashing us at night (or daytime for that = matter). Interestingly the catastrophic error I got when I had the permissions = wrong for debug is the same one we got most of the time, so maybe its = something weird with permissions. =20 I did test the libpq driver with the SQLASCII and found it displays ? = marks, so I guess I have to convert to Unicode (which is what I wanted to do = anyway to make sure upper and length etc work properly). =20 I also tested various lengths of text with both the older driver (seems = to be 100k limit before the record set complains in asp) and newest libpq = (did not seem to mind any length tested with a 1 meg text test data insertion = and editing in asp). In my connect string in both cases (older and newer driver)I had the max length=20 =20 Current settings MaxVarcharSize=3D254;MaxLongVarcharSize=3D16280; TextAsLongVarchar=3D1;UnknownsAsLongVarchar=3D0; =20 set to 16K so I guess that is not what determines what the recordeset = can work with. =20 So far only good news on the testing of the new driver. I will try to = get a production box (2 proc 2650 4 meg) up for IIS and set up a test Unicode database on my 4 proc Dell redhat postgres box for doing a bit more in = deph testing next week. =20 Joel ------=_NextPart_000_0005_01C58EB5.19F4B720 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

 

I am concerned = about trying to convert to unicode and the new drivers again, because last time my = tests went smoth (using the non libpq driver) and in  production it fell = like a punctured blimp. I wasted like 18hours of my time (not totally least I = have a current data set in unicode to test with).

 

In what way? Is = that what was crashing in the night?

 

I = am not sure what was crashing us at night (or daytime for that = matter).

Interestingly the catastrophic = error I got when I had the permissions wrong for debug is the same one we got most = of the time, so maybe its something weird with permissions.

 

I did test the libpq driver with = the SQLASCII and found it displays ? marks, so I guess I have to convert to = Unicode (which is what I wanted to do anyway to make sure upper and length etc = work properly).

 

I also tested various lengths of = text with both the older driver (seems to be 100k limit before the record set = complains in asp) and newest libpq (did not seem to mind any length tested with a = 1 meg text test data insertion and editing in asp). In my connect string in = both cases (older and newer driver)I had the max length

 

Current settings

MaxVarcharSize=3D254;MaxLongVarcharSize=3D16280; TextAsLongVarchar=3D1;UnknownsAsLongVarchar=3D0;

 

set to 16K so I guess that is not = what determines what the recordeset can work with.

 

So far only good news on the = testing of the new driver. I will try to get a production box (2 proc 2650 4 meg) = up for IIS and set up a test Unicode database on my 4 proc Dell redhat postgres = box for doing a bit more in deph testing next week.

 

Joel

------=_NextPart_000_0005_01C58EB5.19F4B720--