X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D6D3CD888D for ; Wed, 31 Aug 2005 20:25:25 -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 91200-08 for ; Wed, 31 Aug 2005 23:25:20 +0000 (GMT) Received: from svctag-ckgvz71.mailserver.wazagua.com (unknown [209.34.245.244]) by svr1.postgresql.org (Postfix) with ESMTP id 1F3C8D8981 for ; Wed, 31 Aug 2005 20:25:17 -0300 (ADT) Received: from jfradkin ([66.15.127.235]) by svctag-ckgvz71.mailserver.wazagua.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 31 Aug 2005 19:25:27 -0400 From: "Joel Fradkin" To: "'Dave Page'" , Subject: Re: figuring out why I am having this issue Date: Wed, 31 Aug 2005 19:27:47 -0400 Message-ID: <000501c5ae83$9963f1e0$797ba8c0@jfradkin> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable In-Reply-To: <008101c5ae62$e46fe99f$6a01a8c0@valehousing.co.uk> X-OriginalArrivalTime: 31 Aug 2005 23:25:27.0281 (UTC) FILETIME=[4513EE10:01C5AE83] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=2.901 required=5 tests=[AWL=-0.175, MSGID_DOLLARS=3.076] X-Spam-Level: ** X-Archive-Number: 200508/259 X-Sequence-Number: 5898 I did try looking at it a bit and did not resolve the issue. I used a snapshot build (was a few days older then my build) and it did = not seem to have any issue with the specific text field, but the asp page = was not formatting correctly, so maybe it was doing something else. I also tried setting TextAsLongVarchar=3D0 Which worked on my development box running XP pro, but did not work in production running win2k. I will look more tomorrow, but I could not even see what the variable = was being set to, to look at the other modules. In my log file I could only see references to it : MaxLongVarcharSize=3D16280; Looking for the value 16280 I could see : Just now cutting this out I thought it was weird that it says B1 =3D 8k in one line (the line that mentions maxvarcharlength and in = another line it has B1=3D16k? CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D8190;B2=3D0;B3=3D0;B4=3D1;B5=3D1;= B6=3D0;B7=3D1;B8=3D0;B9=3D1;C 0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'MaxVarcharSize', value =3D '254' And CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D16280;B2=3D1;B3=3D0;B4=3D1;B5=3D1= ;B6=3D0;B7=3D1;B8=3D0;B9=3D1; C0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'TextAsLongVarchar', value =3D '1' our_connect_string =3D 'DRIVER=3D{PostgreSQL};UID=3Dpostgres;PWD=3Dxxxxxx;DATABASE=3Dwazagua;SER= VER=3D192.168 .123.121;PORT=3D5432;ReadOnly=3D0;Protocol=3D6.4;FakeOidIndex=3D0;ShowOid= Column=3D0;Ro wVersioning=3D0;ShowSystemTables=3D0;ConnSettings=3D;Fetch=3D100;Socket=3D= 4096;Unknown Sizes=3D0;MaxVarcharSize=3D254;MaxLongVarcharSize=3D16280;Debug=3D1;CommL= og=3D0;Optimi zer=3D1;Ksqo=3D1;UseDeclareFetch=3D0;TextAsLongVarchar=3D1;UnknownsAsLong= Varchar=3D0;B oolsAsChar=3D1;Parse=3D0;CancelAsFreeStmt=3D0;ExtraSysTablePrefixes=3Ddd_= ;LFConversi on=3D1;UpdatableCursors=3D1;DisallowPremature=3D0;TrueIsMinus1=3D0;BI=3D0= ;ByteaAsLongV arBinary=3D0;UseServerSidePrepare=3D0;' attribute =3D 'DRIVER', value =3D '{PostgreSQL}' CopyCommonAttributes: A7=3D100;A8=3D8192;A9=3D0;B0=3D254;B1=3D8190;B2=3D0;B3=3D0;B4=3D1;B5=3D1;= B6=3D0;B7=3D1;B8=3D0;B9=3D1;C 0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'UID', value =3D 'postgres' CopyCommonAttributes: A7=3D100;A8=3D8192;A9=3D0;B0=3D254;B1=3D8190;B2=3D0;B3=3D0;B4=3D1;B5=3D1;= B6=3D0;B7=3D1;B8=3D0;B9=3D1;C 0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'PWD', value =3D 'xxxxx' CopyCommonAttributes: A7=3D100;A8=3D8192;A9=3D0;B0=3D254;B1=3D8190;B2=3D0;B3=3D0;B4=3D1;B5=3D1;= B6=3D0;B7=3D1;B8=3D0;B9=3D1;C 0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'DATABASE', value =3D 'wazagua' CopyCommonAttributes: A7=3D100;A8=3D8192;A9=3D0;B0=3D254;B1=3D8190;B2=3D0;B3=3D0;B4=3D1;B5=3D1;= B6=3D0;B7=3D1;B8=3D0;B9=3D1;C 0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'SERVER', value =3D = '192.168.123.121' CopyCommonAttributes: A7=3D100;A8=3D8192;A9=3D0;B0=3D254;B1=3D8190;B2=3D0;B3=3D0;B4=3D1;B5=3D1;= B6=3D0;B7=3D1;B8=3D0;B9=3D1;C 0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'PORT', value =3D '5432' CopyCommonAttributes: A7=3D100;A8=3D8192;A9=3D0;B0=3D254;B1=3D8190;B2=3D0;B3=3D0;B4=3D1;B5=3D1;= B6=3D0;B7=3D1;B8=3D0;B9=3D1;C 0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'ReadOnly', value =3D '0' CopyCommonAttributes: A7=3D100;A8=3D8192;A9=3D0;B0=3D254;B1=3D8190;B2=3D0;B3=3D0;B4=3D1;B5=3D1;= B6=3D0;B7=3D1;B8=3D0;B9=3D1;C 0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'Protocol', value =3D '6.4' CopyCommonAttributes: A7=3D100;A8=3D8192;A9=3D0;B0=3D254;B1=3D8190;B2=3D0;B3=3D0;B4=3D1;B5=3D1;= B6=3D0;B7=3D1;B8=3D0;B9=3D1;C 0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'FakeOidIndex', value =3D '0' CopyCommonAttributes: A7=3D100;A8=3D8192;A9=3D0;B0=3D254;B1=3D8190;B2=3D0;B3=3D0;B4=3D1;B5=3D1;= B6=3D0;B7=3D1;B8=3D0;B9=3D1;C 0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'ShowOidColumn', value =3D '0' CopyCommonAttributes: A7=3D100;A8=3D8192;A9=3D0;B0=3D254;B1=3D8190;B2=3D0;B3=3D0;B4=3D1;B5=3D1;= B6=3D0;B7=3D1;B8=3D0;B9=3D1;C 0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'RowVersioning', value =3D '0' CopyCommonAttributes: A7=3D100;A8=3D8192;A9=3D0;B0=3D254;B1=3D8190;B2=3D0;B3=3D0;B4=3D1;B5=3D1;= B6=3D0;B7=3D1;B8=3D0;B9=3D1;C 0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'ShowSystemTables', value =3D '0' CopyCommonAttributes: A7=3D100;A8=3D8192;A9=3D0;B0=3D254;B1=3D8190;B2=3D0;B3=3D0;B4=3D1;B5=3D1;= B6=3D0;B7=3D1;B8=3D0;B9=3D1;C 0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'ConnSettings', value =3D '' CopyCommonAttributes: A7=3D100;A8=3D8192;A9=3D0;B0=3D254;B1=3D8190;B2=3D0;B3=3D0;B4=3D1;B5=3D1;= B6=3D0;B7=3D1;B8=3D0;B9=3D1;C 0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'Fetch', value =3D '100' CopyCommonAttributes: A7=3D100;A8=3D8192;A9=3D0;B0=3D254;B1=3D8190;B2=3D0;B3=3D0;B4=3D1;B5=3D1;= B6=3D0;B7=3D1;B8=3D0;B9=3D1;C 0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'Socket', value =3D '4096' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D8190;B2=3D0;B3=3D0;B4=3D1;B5=3D1;= B6=3D0;B7=3D1;B8=3D0;B9=3D1;C 0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'UnknownSizes', value =3D '0' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D8190;B2=3D0;B3=3D0;B4=3D1;B5=3D1;= B6=3D0;B7=3D1;B8=3D0;B9=3D1;C 0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'MaxVarcharSize', value =3D '254' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D8190;B2=3D0;B3=3D0;B4=3D1;B5=3D1;= B6=3D0;B7=3D1;B8=3D0;B9=3D1;C 0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'MaxLongVarcharSize', value =3D = '16280' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D16280;B2=3D0;B3=3D0;B4=3D1;B5=3D1= ;B6=3D0;B7=3D1;B8=3D0;B9=3D1; C0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'Debug', value =3D '1' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D16280;B2=3D1;B3=3D0;B4=3D1;B5=3D1= ;B6=3D0;B7=3D1;B8=3D0;B9=3D1; C0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'CommLog', value =3D '0' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D16280;B2=3D1;B3=3D0;B4=3D1;B5=3D1= ;B6=3D0;B7=3D1;B8=3D0;B9=3D1; C0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'Optimizer', value =3D '1' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D16280;B2=3D1;B3=3D0;B4=3D1;B5=3D1= ;B6=3D0;B7=3D1;B8=3D0;B9=3D1; C0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'Ksqo', value =3D '1' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D16280;B2=3D1;B3=3D0;B4=3D1;B5=3D1= ;B6=3D0;B7=3D1;B8=3D0;B9=3D1; C0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'UseDeclareFetch', value =3D '0' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D16280;B2=3D1;B3=3D0;B4=3D1;B5=3D1= ;B6=3D0;B7=3D1;B8=3D0;B9=3D1; C0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'TextAsLongVarchar', value =3D '1' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D16280;B2=3D1;B3=3D0;B4=3D1;B5=3D1= ;B6=3D0;B7=3D1;B8=3D0;B9=3D1; C0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'UnknownsAsLongVarchar', value =3D = '0' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D16280;B2=3D1;B3=3D0;B4=3D1;B5=3D1= ;B6=3D0;B7=3D1;B8=3D0;B9=3D1; C0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'BoolsAsChar', value =3D '1' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D16280;B2=3D1;B3=3D0;B4=3D1;B5=3D1= ;B6=3D0;B7=3D1;B8=3D0;B9=3D1; C0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'Parse', value =3D '0' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D16280;B2=3D1;B3=3D0;B4=3D1;B5=3D1= ;B6=3D0;B7=3D1;B8=3D0;B9=3D1; C0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'CancelAsFreeStmt', value =3D '0' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D16280;B2=3D1;B3=3D0;B4=3D1;B5=3D1= ;B6=3D0;B7=3D1;B8=3D0;B9=3D1; C0=3D0;C1=3D0;C2=3Ddd_;attribute =3D 'ExtraSysTablePrefixes', value =3D = 'dd_' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D16280;B2=3D1;B3=3D0;B4=3D1;B5=3D1= ;B6=3D0;B7=3D1;B8=3D0;B9=3D1; C0=3D0;C1=3D0;C2=3Ddd_attribute =3D 'LFConversion', value =3D '1' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D16280;B2=3D1;B3=3D0;B4=3D1;B5=3D1= ;B6=3D0;B7=3D1;B8=3D0;B9=3D1; C0=3D0;C1=3D0;C2=3Ddd_attribute =3D 'UpdatableCursors', value =3D '1' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D16280;B2=3D1;B3=3D0;B4=3D1;B5=3D1= ;B6=3D0;B7=3D1;B8=3D0;B9=3D1; C0=3D0;C1=3D0;C2=3Ddd_attribute =3D 'DisallowPremature', value =3D '0' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D16280;B2=3D1;B3=3D0;B4=3D1;B5=3D1= ;B6=3D0;B7=3D1;B8=3D0;B9=3D1; C0=3D0;C1=3D0;C2=3Ddd_attribute =3D 'TrueIsMinus1', value =3D '0' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D16280;B2=3D1;B3=3D0;B4=3D1;B5=3D1= ;B6=3D0;B7=3D1;B8=3D0;B9=3D1; C0=3D0;C1=3D0;C2=3Ddd_attribute =3D 'BI', value =3D '0' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D16280;B2=3D1;B3=3D0;B4=3D1;B5=3D1= ;B6=3D0;B7=3D1;B8=3D0;B9=3D1; C0=3D0;C1=3D0;C2=3Ddd_attribute =3D 'ByteaAsLongVarBinary', value =3D = '0' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D16280;B2=3D1;B3=3D0;B4=3D1;B5=3D1= ;B6=3D0;B7=3D1;B8=3D0;B9=3D1; C0=3D0;C1=3D0;C2=3Ddd_attribute =3D 'UseServerSidePrepare', value =3D = '0' CopyCommonAttributes: A7=3D100;A8=3D4096;A9=3D0;B0=3D254;B1=3D16280;B2=3D1;B3=3D0;B4=3D1;B5=3D1= ;B6=3D0;B7=3D1;B8=3D0;B9=3D1; C0=3D0;C1=3D0;C2=3Ddd_CC_connect: entering... CC_connect(): DSN =3D '', server =3D '192.168.123.121', port =3D '5432', = sslmode =3D 'prefer' database =3D 'wazagua', username =3D 'postgres', = password=3D'xxxxx' Joel Fradkin =20 Wazagua, Inc. 2520 Trailmate Dr Sarasota, Florida 34243 Tel. 941-753-7111 ext 305 =20 jfradkin@wazagua.com www.wazagua.com Powered by Wazagua Providing you with the latest Web-based technology & advanced tools. C 2004. WAZAGUA, Inc. All rights reserved. WAZAGUA, Inc This email message is for the use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized = review, use, disclosure or distribution is prohibited. If you are not the = intended recipient, please contact the sender by reply email and delete and = destroy all copies of the original message, including attachments. =20 =20 -----Original Message----- From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Dave Page Sent: Wednesday, August 31, 2005 3:34 PM To: jfradkin@wazagua.com; pgsql-odbc@postgresql.org Subject: Re: [ODBC] figuring out why I am having this issue Joel, The problem is not that we won't help, but mainly I suspect we're in timezones some way east of you. For example, I'm watching telly, eating = a popadom, and thinking about having a beer and going to bed!! (I'm also = on my pda, and don't have the source right now). A hint though - look in the connectionstring in mylog, and find the = actual option name/code. Then, look in options.c (iirc), and see if you can = figure out the variable that the value gets assigned to in the ConnectionClass object. Then, look at where that is used. The problem is /probably/ in qresult.c, connection.c (not the #ifndef USE_LIBPQ bits), or, if you're really unlucky, copy_and_convert_field in convert.c Good luck, and be sure to let someone know what you're doing so they can send dogs when you don't come back... /D -----Original Message----- From: "Joel Fradkin" Sent: 31/08/05 20:07:46 To: "pgsql-odbc@postgresql.org" Subject: [ODBC] figuring out why I am having this issue I do not mind researching the text field problem myself, but looking at = the source code I have no idea where to look or how to approach this. I have seen a few email where some of the developers talked about how = they were getting feed back, but to be honest never paid much attention. I can look in the archive (and probably will), but if any of you who has worked on the code could maybe point me in the right direction like = which .c file would be looking at=20 MaxLongVarcharSize I did a search and only saw it referenced in one file = and it does not look to me like it is doing anything with text fields, so I = must be missing something. =20 Any ideas would be a big help. =20 Joel Fradkin =20 =20 -----Unmodified Original Message----- I do not mind researching the text field problem myself, but looking at = the source code I have no idea where to look or how to approach this. I have seen a few email where some of the developers talked about how = they were getting feed back, but to be honest never paid much attention. I can look in the archive (and probably will), but if any of you who has worked on the code could maybe point me in the right direction like = which .c file would be looking at=20 MaxLongVarcharSize I did a search and only saw it referenced in one file = and it does not look to me like it is doing anything with text fields, so I = must be missing something. =20 Any ideas would be a big help. =20 Joel Fradkin =20 =20 ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org