X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id BE4A3D1CAE0 for ; Tue, 4 Nov 2003 15:22:50 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 21095-04 for ; Tue, 4 Nov 2003 11:22:23 -0400 (AST) Received: from geulle01.xillion.nl (wc-146.r-195-35-166.essentkabel.com [195.35.166.146]) by svr1.postgresql.org (Postfix) with ESMTP id B94F3D1B947 for ; Tue, 4 Nov 2003 11:22:14 -0400 (AST) Received: by geulle01.xillion.nl (Postfix, from userid 1001) id 7A5D130749; Tue, 4 Nov 2003 16:21:06 +0100 (CET) Received: from lt02 (unknown [192.168.1.101]) by geulle01.xillion.nl (Postfix) with ESMTP id 74ECC30749 for ; Tue, 4 Nov 2003 16:20:33 +0100 (CET) Reply-To: From: "Jean Huveneers" To: Subject: Strange error in 7.3.2.01 Date: Tue, 4 Nov 2003 16:20:57 +0100 Message-ID: <000001c3a2e7$4072b430$6501a8c0@farcourier.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0001_01C3A2EF.A23D36B0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200311/22 X-Sequence-Number: 3424 This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C3A2EF.A23D36B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, I had an error in de ODBC driver version 7.3.2 (when updating records with a numeric field) last week. This was fixed with the snapshot 7.3.2.01 but now i get an error on select statements on tables with records containing numeric data (if they are null everything goes well). Seen attached log file. Regards, Jean Huveneers Xillion ICT Solutions B.V. Marktplein 8 6243 BR Geulle The Netherlands tel: +31 (0)43 3659244 fax: +31 (0)43 3659249 gsm: +31 (0)6 456 44 357 www: www.xillion.nl ------=_NextPart_000_0001_01C3A2EF.A23D36B0 Content-Type: application/octet-stream; name="psqlodbc_1812.log" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="psqlodbc_1812.log" Global Options: Version=3D'07.03.0201', fetch=3D100, socket=3D4096, unknown= _sizes=3D0, max_varchar_size=3D254, max_longvarchar_size=3D65536 disable_optimizer=3D1, ksqo=3D1, unique_index=3D1, use_decl= arefetch=3D0 text_as_longvarchar=3D0, unknowns_as_longvarchar=3D1, bools= _as_char=3D0 NAMEDATALEN=3D64 extra_systable_prefixes=3D'dd_', conn_settings=3D'' conn_en= coding=3D'LATIN1' conn=3D39088976, query=3D' ' conn=3D39088976, query=3D'select version()' [ fetched 1 rows ] [ PostgreSQL version string =3D 'PostgreSQL 7.3.1 on i686-pc-linux-gnu,= compiled by GCC 2.96' ] [ PostgreSQL version number =3D '7.3' ] conn=3D39088976, query=3D'set DateStyle to 'ISO'' conn=3D39088976, query=3D'set geqo to 'OFF'' conn=3D39088976, query=3D'SET CLIENT_ENCODING TO 'LATIN1'' conn=3D39088976, query=3D'select oid from pg_type where typname=3D'lo'' [ fetched 1 rows ] [ Large Object oid =3D 549097 ] conn=3D39088976, query=3D'select pg_client_encoding()' [ fetched 1 rows ] [ Client encoding =3D 'LATIN1' (code =3D 8) ] conn=3D39088976, PGAPI_DriverConnect(out)=3D'DRIVER=3D{PostgreSQL};DATABASE= =3Dxwhale-dev;SERVER=3Dfs1200.farcourier.com;PORT=3D5432;UID=3Djean;PWD=3Dx= xxx;ReadOnly=3D0;Protocol=3D6.4;FakeOidIndex=3D0;ShowOidColumn=3D0;RowVersi= oning=3D0;ShowSystemTables=3D0;ConnSettings=3DSET+CLIENT%5fENCODING+TO+%27L= ATIN1%27;Fetch=3D100;Socket=3D4096;UnknownSizes=3D0;MaxVarcharSize=3D254;Ma= xLongVarcharSize=3D65536;Debug=3D1;CommLog=3D1;Optimizer=3D1;Ksqo=3D1;UseDe= clareFetch=3D0;TextAsLongVarchar=3D0;UnknownsAsLongVarchar=3D1;BoolsAsChar= =3D0;Parse=3D0;CancelAsFreeStmt=3D0;ExtraSysTablePrefixes=3Ddd_;LFConversio= n=3D1;UpdatableCursors=3D1;DisallowPremature=3D0;TrueIsMinus1=3D1;BI=3D0;By= teaAsLongVarBinary=3D0;UseServerSidePrepare=3D0' conn=3D39108184, PGAPI_DriverConnect( in)=3D'DRIVER=3D{PostgreSQL};UID=3Dje= an;PWD=3Dxxxx;DATABASE=3Dxwhale-dev;SERVER=3Dfs1200.farcourier.com;PORT=3D5= 432;ReadOnly=3D0;Protocol=3D6.4;FakeOidIndex=3D0;ShowOidColumn=3D0;RowVersi= oning=3D0;ShowSystemTables=3D0;ConnSettings=3DSET+CLIENT%5fENCODING+TO+%27L= ATIN1%27;Fetch=3D100;Socket=3D4096;UnknownSizes=3D0;MaxVarcharSize=3D254;Ma= xLongVarcharSize=3D65536;Debug=3D1;CommLog=3D1;Optimizer=3D1;Ksqo=3D1;UseDe= clareFetch=3D0;TextAsLongVarchar=3D0;UnknownsAsLongVarchar=3D1;BoolsAsChar= =3D0;Parse=3D0;CancelAsFreeStmt=3D0;ExtraSysTablePrefixes=3Ddd_;LFConversio= n=3D1;UpdatableCursors=3D1;DisallowPremature=3D0;TrueIsMinus1=3D1;BI=3D0;By= teaAsLongVarBinary=3D0;UseServerSidePrepare=3D0;', fDriverCompletion=3D0 Global Options: Version=3D'07.03.0201', fetch=3D100, socket=3D4096, unknown= _sizes=3D0, max_varchar_size=3D254, max_longvarchar_size=3D65536 disable_optimizer=3D1, ksqo=3D1, unique_index=3D1, use_decl= arefetch=3D0 text_as_longvarchar=3D0, unknowns_as_longvarchar=3D1, bools= _as_char=3D0 NAMEDATALEN=3D64 extra_systable_prefixes=3D'dd_', conn_settings=3D'' conn_en= coding=3D'LATIN1' conn=3D39108184, query=3D' ' conn=3D39108184, query=3D'select version()' [ fetched 1 rows ] [ PostgreSQL version string =3D 'PostgreSQL 7.3.1 on i686-pc-linux-gnu,= compiled by GCC 2.96' ] [ PostgreSQL version number =3D '7.3' ] conn=3D39108184, query=3D'set DateStyle to 'ISO'' conn=3D39108184, query=3D'set geqo to 'OFF'' conn=3D39108184, query=3D'SET CLIENT_ENCODING TO 'LATIN1'' conn=3D39108184, query=3D'select oid from pg_type where typname=3D'lo'' [ fetched 1 rows ] [ Large Object oid =3D 549097 ] conn=3D39108184, query=3D'select pg_client_encoding()' [ fetched 1 rows ] [ Client encoding =3D 'LATIN1' (code =3D 8) ] =3D=3D=3D CUT =3D=3D=3D conn=3D39108184, query=3D'select item.awbnumber, item.contenttype_id, item.= other_contenttype, item.deliveryaddress_id, item.deliveryaddressname, item.= detail_id, item.handling_id, item.height, item.item_id, item.itemnumber, it= em.itemtype_id, item.other_itemtype, item.lastchanged, item.length, item.or= der_id, item.realdeliverydate, item.realdeliverytime, item.servicetype_id, = item.signaturetype_id, item.signedby, item.staff_id, item.value, item.weigh= t, item.width, COALESCE(contenttypecontenttype.description , item.other_con= tenttype) as contenttype_description, handlinghandling.description as handl= ing_description, COALESCE(itemtypeitemtype.description , item.other_itemtyp= e) as itemtype_description, servicetypeservicetype.description as servicety= pe_description, signaturetypesignaturetype.description as signaturetype_des= cription from item left join contenttype as contenttypecontenttype on (item.contenttype_id = =3D contenttypecontenttype.contenttype_id)=20=20 left join handling as handlinghandling on (item.handling_id =3D handlingha= ndling.handling_id)=20=20 left join itemtype as itemtypeitemtype on (item.itemtype_id =3D itemtypeit= emtype.itemtype_id)=20=20 left join servicetype as servicetypeservicetype on (item.servicetype_id = =3D servicetypeservicetype.servicetype_id)=20=20 left join signaturetype as signaturetypesignaturetype on (item.signaturety= pe_id =3D signaturetypesignaturetype.signaturetype_id) where item.order_= id=3D827;' [ fetched 1 rows ] STATEMENT ERROR: func=3DPGAPI_GetData, desc=3D'', errnum=3D14, errmsg=3D'Re= ceived an unsupported type from Postgres.' ----------------------------------------------------------= -- hdbc=3D39108184, stmt=3D39456208, result=3D39464608 manual_result=3D0, prepare=3D0, internal=3D0 bindings=3D39452704, bindings_allocated=3D29 parameters=3D0, parameters_allocated=3D0 statement_type=3D0, statement=3D'select item.awbnumber, it= em.contenttype_id, item.other_contenttype, item.deliveryaddress_id, item.de= liveryaddressname, item.detail_id, item.handling_id, item.height, item.item= _id, item.itemnumber, item.itemtype_id, item.other_itemtype, item.lastchang= ed, item.length, item.order_id, item.realdeliverydate, item.realdeliverytim= e, item.servicetype_id, item.signaturetype_id, item.signedby, item.staff_id= , item.value, item.weight, item.width, COALESCE(contenttypecontenttype.desc= ription , item.other_contenttype) as contenttype_description, handlinghandl= ing.description as handling_description, COALESCE(itemtypeitemtype.descript= ion , item.other_itemtype) as itemtype_description, servicetypeservicetype.= description as servicetype_description, signaturetypesignaturetype.descript= ion as signaturetype_description from item left join contenttype as contenttypecontenttype on (item.contenttype_id = =3D contenttypecontenttype.contenttype_id)=20=20 left join handling as handlinghandling on (item.handling_id =3D handlingha= ndling.handling_id)=20=20 left join itemtype as itemtypeitemtype on (item.itemtype_id =3D itemtypeit= emtype.itemtype_id)=20=20 left join servicetype as servicetypeservicetype on (item.servicetype_id = =3D servicetypeservicetype.servicetype_id)=20=20 left join signaturetype as signaturetypesignaturetype on (item.signaturety= pe_id =3D signaturetypesignaturetype.signaturetype_id) where item.order_= id=3D827;' stmt_with_params=3D'select item.awbnumber, item.contenttyp= e_id, item.other_contenttype, item.deliveryaddress_id, item.deliveryaddress= name, item.detail_id, item.handling_id, item.height, item.item_id, item.ite= mnumber, item.itemtype_id, item.other_itemtype, item.lastchanged, item.leng= th, item.order_id, item.realdeliverydate, item.realdeliverytime, item.servi= cetype_id, item.signaturetype_id, item.signedby, item.staff_id, item.value,= item.weight, item.width, COALESCE(contenttypecontenttype.description , ite= m.other_contenttype) as contenttype_description, handlinghandling.descripti= on as handling_description, COALESCE(itemtypeitemtype.description , item.ot= her_itemtype) as itemtype_description, servicetypeservicetype.description a= s servicetype_description, signaturetypesignaturetype.description as signat= uretype_description from item left join contenttype as contenttypecontenttype on (item.contenttype_id = =3D contenttypecontenttype.contenttype_id)=20=20 left join handling as handlinghandling on (item.handling_id =3D handlingha= ndling.handling_id)=20=20 left join itemtype as itemtypeitemtype on (item.itemtype_id =3D itemtypeit= emtype.itemtype_id)=20=20 left join servicetype as servicetypeservicetype on (item.servicetype_id = =3D servicetypeservicetype.servicetype_id)=20=20 left join signaturetype as signaturetypesignaturetype on (item.signaturety= pe_id =3D signaturetypesignaturetype.signaturetype_id) where item.order_= id=3D827;' data_at_exec=3D-1, current_exec_param=3D-1, put_data=3D0 currTuple=3D0, current_col=3D-1, lobj_fd=3D-1 maxRows=3D0, rowset_size=3D1, keyset_size=3D0, cursor_type= =3D0, scroll_concurrency=3D1 cursor_name=3D'SQL_CUR025A0DD0' ----------------QResult Info -----------------------------= -- fields=3D39461712, manual_tuples=3D0, backend_tuples=3D415= 85616, tupleField=3D41585616, conn=3D39108184 fetch_count=3D0, num_total_rows=3D1, num_fields=3D29, curs= or=3D'(NULL)' message=3D'(NULL)', command=3D'SELECT', notice=3D'(NULL)' status=3D8, inTuples=3D0 CONN ERROR: func=3DPGAPI_GetData, desc=3D'', errnum=3D0, errmsg=3D'(NULL)' ------------------------------------------------------------ henv=3D39126880, conn=3D39108184, status=3D1, num_stmts=3D16 sock=3D39125296, stmts=3D39125216, lobj_type=3D549097 ---------------- Socket Info ------------------------------- socket=3D624, reverse=3D0, errornumber=3D0, errormsg=3D'(NULL)' buffer_in=3D39119184, buffer_out=3D41484360 buffer_filled_in=3D868, buffer_filled_out=3D0, buffer_read_in= =3D868 STATEMENT ERROR: func=3DPGAPI_GetData, desc=3D'', errnum=3D14, errmsg=3D'Re= ceived an unsupported type from Postgres.' ----------------------------------------------------------= -- hdbc=3D39108184, stmt=3D39456208, result=3D39464608 manual_result=3D0, prepare=3D0, internal=3D0 bindings=3D39452704, bindings_allocated=3D29 parameters=3D0, parameters_allocated=3D0 statement_type=3D0, statement=3D'select item.awbnumber, it= em.contenttype_id, item.other_contenttype, item.deliveryaddress_id, item.de= liveryaddressname, item.detail_id, item.handling_id, item.height, item.item= _id, item.itemnumber, item.itemtype_id, item.other_itemtype, item.lastchang= ed, item.length, item.order_id, item.realdeliverydate, item.realdeliverytim= e, item.servicetype_id, item.signaturetype_id, item.signedby, item.staff_id= , item.value, item.weight, item.width, COALESCE(contenttypecontenttype.desc= ription , item.other_contenttype) as contenttype_description, handlinghandl= ing.description as handling_description, COALESCE(itemtypeitemtype.descript= ion , item.other_itemtype) as itemtype_description, servicetypeservicetype.= description as servicetype_description, signaturetypesignaturetype.descript= ion as signaturetype_description from item left join contenttype as contenttypecontenttype on (item.contenttype_id = =3D contenttypecontenttype.contenttype_id)=20=20 left join handling as handlinghandling on (item.handling_id =3D handlingha= ndling.handling_id)=20=20 left join itemtype as itemtypeitemtype on (item.itemtype_id =3D itemtypeit= emtype.itemtype_id)=20=20 left join servicetype as servicetypeservicetype on (item.servicetype_id = =3D servicetypeservicetype.servicetype_id)=20=20 left join signaturetype as signaturetypesignaturetype on (item.signaturety= pe_id =3D signaturetypesignaturetype.signaturetype_id) where item.order_= id=3D827;' stmt_with_params=3D'select item.awbnumber, item.contenttyp= e_id, item.other_contenttype, item.deliveryaddress_id, item.deliveryaddress= name, item.detail_id, item.handling_id, item.height, item.item_id, item.ite= mnumber, item.itemtype_id, item.other_itemtype, item.lastchanged, item.leng= th, item.order_id, item.realdeliverydate, item.realdeliverytime, item.servi= cetype_id, item.signaturetype_id, item.signedby, item.staff_id, item.value,= item.weight, item.width, COALESCE(contenttypecontenttype.description , ite= m.other_contenttype) as contenttype_description, handlinghandling.descripti= on as handling_description, COALESCE(itemtypeitemtype.description , item.ot= her_itemtype) as itemtype_description, servicetypeservicetype.description a= s servicetype_description, signaturetypesignaturetype.description as signat= uretype_description from item left join contenttype as contenttypecontenttype on (item.contenttype_id = =3D contenttypecontenttype.contenttype_id)=20=20 left join handling as handlinghandling on (item.handling_id =3D handlingha= ndling.handling_id)=20=20 left join itemtype as itemtypeitemtype on (item.itemtype_id =3D itemtypeit= emtype.itemtype_id)=20=20 left join servicetype as servicetypeservicetype on (item.servicetype_id = =3D servicetypeservicetype.servicetype_id)=20=20 left join signaturetype as signaturetypesignaturetype on (item.signaturety= pe_id =3D signaturetypesignaturetype.signaturetype_id) where item.order_= id=3D827;' data_at_exec=3D-1, current_exec_param=3D-1, put_data=3D0 currTuple=3D0, current_col=3D-1, lobj_fd=3D-1 maxRows=3D0, rowset_size=3D1, keyset_size=3D0, cursor_type= =3D0, scroll_concurrency=3D1 cursor_name=3D'SQL_CUR025A0DD0' ----------------QResult Info -----------------------------= -- fields=3D39461712, manual_tuples=3D0, backend_tuples=3D415= 85616, tupleField=3D41585616, conn=3D39108184 fetch_count=3D0, num_total_rows=3D1, num_fields=3D29, curs= or=3D'(NULL)' message=3D'(NULL)', command=3D'SELECT', notice=3D'(NULL)' status=3D8, inTuples=3D0 CONN ERROR: func=3DPGAPI_GetData, desc=3D'', errnum=3D0, errmsg=3D'(NULL)' ------------------------------------------------------------ henv=3D39126880, conn=3D39108184, status=3D1, num_stmts=3D16 sock=3D39125296, stmts=3D39125216, lobj_type=3D549097 ---------------- Socket Info ------------------------------- socket=3D624, reverse=3D0, errornumber=3D0, errormsg=3D'(NULL)' buffer_in=3D39119184, buffer_out=3D41484360 buffer_filled_in=3D868, buffer_filled_out=3D0, buffer_read_in= =3D868 ------=_NextPart_000_0001_01C3A2EF.A23D36B0--