From safak.cirag@netcad.com.tr Wed Mar 22 13:02:39 2006 X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id C7E449DC874 for ; Wed, 22 Mar 2006 09:02:39 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 41816-06 for ; Wed, 22 Mar 2006 09:02:42 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 06BF29DCB34 for ; Wed, 22 Mar 2006 09:02:37 -0400 (AST) Received: from smtp.isnet.net.tr (smtp-b.isnet.net.tr [213.143.239.30]) by svr4.postgresql.org (Postfix) with ESMTP id E74E85AF0A5 for ; Wed, 22 Mar 2006 13:02:37 +0000 (GMT) Received: from smtp.isnet.net.tr (localhost.localdomain [127.0.0.1]) by smtp.isnet.net.tr (Postfix) with ESMTP id 685714F803F for ; Wed, 22 Mar 2006 15:09:19 +0200 (EET) Received: from safakcirag (ip-213-139-195-67.reverse.meteksan.net.tr [213.139.195.67]) by smtp.isnet.net.tr (Postfix) with ESMTP id 0F6C14F801D for ; Wed, 22 Mar 2006 15:09:19 +0200 (EET) Message-ID: <005a01c64db0$9481df80$2801a8c0@ulusal.local> From: "SAFAK CIRAG" To: Subject: ADO operations Date: Wed, 22 Mar 2006 15:00:22 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0057_01C64DC1.57AB2A60" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-AV-Checked: Is Net AV Service X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.001 required=5 tests=[HTML_MESSAGE=0.001] X-Spam-Score: 0.001 X-Spam-Level: X-Archive-Number: 200603/132 X-Sequence-Number: 7418 This is a multi-part message in MIME format. ------=_NextPart_000_0057_01C64DC1.57AB2A60 Content-Type: text/plain; charset="iso-8859-9" Content-Transfer-Encoding: quoted-printable Hi, I'm using psqlodbc-08_01_0200. I created a database with UTF-8 encoding. = While inserting,updating or deleting a record, PostgreSQL Unicode Driver returns an error : "Insufficient base table information for updating or = refreshing". Before creating the database with UTF-8 encoding, i was = using a database with ANSI encoding and driver as PostgreSQL ANSI. There = is nothing wrong with ANSI side. DNSless connection string is the = following: "Driver=3D{PostgreSQL = Unicode};SERVER=3Dlocalhost;PORT=3D5432;DATABASE=3Dncpgdb;UID=3Dpostgres;= PWD=3D*******; = BI=3D4;BoolsAsChar=3D1;ByteaAsLongVarBinary=3D1;CancelAsFreeStmt=3D0;Comm= Log=3D0;Debug=3D0; DisallowPremature=3D0;ExtraSysTablePrefixes=3Ddd_;FakeOidIndex=3D0; = Fetch=3D100;Ksqo=3D1;LFConversion=3D1;LowerCaseIdentifier=3D0;MaxLongVarc= harSize=3D8190;MaxVarcharSize=3D254; = protocol=3D6.4;ReadOnly=3D0;RowVersioning=3D0;ShowOidColumn=3D0;ShowSyste= mTables=3D0;SSLmode=3Dprefer; = Optimizer=3D1;Parse=3D0;protocol=3D6.4;ReadOnly=3D0;RowVersioning=3D0;Sho= wOidColumn=3D0;ShowSystemTables=3D0;SSLmode=3Dprefer; = TextAsLongVarchar=3D1;TrueIsMinus1=3D0;UniqueIndex=3D1;UnknownsAsLongVarc= har=3D0;UnknownSizes=3D0; UpdatableCursors=3D0;UseDeclareFetch=3D1;UseServerSidePrepare=3D0" Should i change connection string parameters in order not to get the = error("Insufficient base...")? ------=_NextPart_000_0057_01C64DC1.57AB2A60 Content-Type: text/html; charset="iso-8859-9" Content-Transfer-Encoding: quoted-printable
Hi,
I'm using psqlodbc-08_01_0200. I = created a database=20 with UTF-8 encoding. While inserting,updating or deleting a record, = PostgreSQL=20 Unicode Driver
returns an error : "Insufficient base = table=20 information for updating or refreshing". Before creating the database = with UTF-8=20 encoding, i was using a database with ANSI encoding and driver as = PostgreSQL=20 ANSI. There is nothing wrong with ANSI side. DNSless connection string = is the=20 following:
 
"Driver=3D{PostgreSQL=20 Unicode};SERVER=3Dlocalhost;PORT=3D5432;DATABASE=3Dncpgdb;UID=3Dpostgres;= PWD=3D*******;
 BI=3D4;BoolsAsChar=3D1;ByteaAsLongVarBinary=3D1;CancelAsFr= eeStmt=3D0;CommLog=3D0;Debug=3D0;
 DisallowPremature=3D0;ExtraSysTablePrefixes=3Ddd_;FakeOidI= ndex=3D0;
 Fetch=3D100;Ksqo=3D1;LFConversion=3D1;LowerCaseIdentifier=3D= 0;MaxLongVarcharSize=3D8190;MaxVarcharSize=3D254;
 protocol=3D6.4;ReadOnly=3D0;RowVersioning=3D0;ShowOidColum= n=3D0;ShowSystemTables=3D0;SSLmode=3Dprefer;
 Optimizer=3D1;Parse=3D0;protocol=3D6.4;ReadOnly=3D0;RowVer= sioning=3D0;ShowOidColumn=3D0;ShowSystemTables=3D0;SSLmode=3Dprefer;
 TextAsLongVarchar=3D1;TrueIsMinus1=3D0;UniqueIndex=3D1;Unk= nownsAsLongVarchar=3D0;UnknownSizes=3D0;
 UpdatableCursors=3D0;UseDeclareFetch=3D1;UseServerSidePrep= are=3D0"
 
Should i change connection string = parameters in=20 order not to get the error("Insufficient = base...")?
------=_NextPart_000_0057_01C64DC1.57AB2A60-- From luf@pzkagis.cz Wed Mar 22 15:11:48 2006 X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 61BD39DCDB6 for ; Wed, 22 Mar 2006 11:11:48 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 72035-06 for ; Wed, 22 Mar 2006 11:11:50 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.pzkagis.cz (gis6.netbox.cz [83.240.30.214]) by postgresql.org (Postfix) with ESMTP id F3F249DCD64 for ; Wed, 22 Mar 2006 11:11:43 -0400 (AST) Received: from soptik.pzkagis.cz (localhost.localdomain [127.0.0.1]) by smtp.pzkagis.cz (8.13.1/8.13.1) with ESMTP id k2MF6Mei008347; Wed, 22 Mar 2006 16:06:22 +0100 Received: (from luf@localhost) by soptik.pzkagis.cz (8.13.1/8.13.1/Submit) id k2MF6MZC008346; Wed, 22 Mar 2006 16:06:22 +0100 Date: Wed, 22 Mar 2006 16:06:22 +0100 From: Ludek Finstrle To: SAFAK CIRAG Cc: pgsql-odbc@postgresql.org Subject: Re: ADO operations Message-ID: <20060322150622.GB8090@soptik.pzkagis.cz> References: <005a01c64db0$9481df80$2801a8c0@ulusal.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <005a01c64db0$9481df80$2801a8c0@ulusal.local> User-Agent: Mutt/1.4.1i X-Virus-Scanned: ClamAV 0.88/1350/Wed Mar 22 11:12:47 2006 on smtp.pzkagis.cz X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.095 required=5 tests=[AWL=0.095] X-Spam-Score: 0.095 X-Spam-Level: X-Archive-Number: 200603/146 X-Sequence-Number: 7432 > I'm using psqlodbc-08_01_0200. I created a database with UTF-8 > encoding. While inserting,updating or deleting a record, > PostgreSQL Unicode Driver Do you mean you use UPDATE, INSERT and DELETE SQL statements? Are you able to do this with psql or pgAdmin client? > returns an error : "Insufficient base table information for > updating or refreshing". Before creating the database with UTF-8 Please send us the mylog output with the problem. Regards, Luf From luf@pzkagis.cz Fri Mar 24 08:33:19 2006 X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 2B76E9DC82F for ; Fri, 24 Mar 2006 04:33:19 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 50838-01 for ; Fri, 24 Mar 2006 04:33:19 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.pzkagis.cz (gis6.netbox.cz [83.240.30.214]) by postgresql.org (Postfix) with ESMTP id BCE379DC804 for ; Fri, 24 Mar 2006 04:33:15 -0400 (AST) Received: from soptik.pzkagis.cz (localhost.localdomain [127.0.0.1]) by smtp.pzkagis.cz (8.13.1/8.13.1) with ESMTP id k2O8XAvn023065; Fri, 24 Mar 2006 09:33:10 +0100 Received: (from luf@localhost) by soptik.pzkagis.cz (8.13.1/8.13.1/Submit) id k2O8X9JI023064; Fri, 24 Mar 2006 09:33:09 +0100 Date: Fri, 24 Mar 2006 09:33:09 +0100 From: Ludek Finstrle To: SAFAK CIRAG Cc: pgsql-odbc@postgresql.org Subject: Re: ADO operations Message-ID: <20060324083309.GA23024@soptik.pzkagis.cz> References: <005a01c64db0$9481df80$2801a8c0@ulusal.local> <20060322150622.GB8090@soptik.pzkagis.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060322150622.GB8090@soptik.pzkagis.cz> User-Agent: Mutt/1.4.1i X-Virus-Scanned: ClamAV 0.88/1355/Thu Mar 23 22:18:22 2006 on smtp.pzkagis.cz X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.095 required=5 tests=[AWL=0.095] X-Spam-Score: 0.095 X-Spam-Level: X-Archive-Number: 200603/161 X-Sequence-Number: 7447 > > returns an error : "Insufficient base table information for > > updating or refreshing". Before creating the database with UTF-8 > > Please send us the mylog output with the problem. Could you try to enable Parse Statements option? Does it help? BTW the log you sent me is long. Could you post the problemateic query? I see no error but there could be another problem. If you send me the query I can locate the problematic part better. Thanks, Luf From Jamal.Mazrui@fcc.gov Tue Mar 28 16:52:22 2006 X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 387EC9DCA5D for ; Tue, 28 Mar 2006 12:52:22 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 05885-07 for ; Tue, 28 Mar 2006 12:52:19 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mailgate1.fcc.gov (mailgate1.fcc.gov [192.104.54.10]) by postgresql.org (Postfix) with ESMTP id 382299DCA3E for ; Tue, 28 Mar 2006 12:52:14 -0400 (AST) Received: from fw2 (gatekeeper4.fcc.gov [192.104.54.21]) by mailgate1.fcc.gov (dcMail/040510q) with SMTP id k2SGq8oR012372 for ; Tue, 28 Mar 2006 11:52:12 -0500 (EST) Received: from smarthost1.fcc.gov ([165.135.234.3]) by fw2.fcc.gov; Tue, 28 Mar 2006 16:51:55 +0000 (GMT) Received: from P2PXCS01.fccnet.win.fcc.gov ([165.135.240.60] [165.135.240.60]) by smarthost1.fcc.gov with ESMTP; Tue, 28 Mar 2006 11:51:55 -0500 Received: from P2PXMB07.fccnet.win.fcc.gov ([165.135.240.62]) by P2PXCS01.fccnet.win.fcc.gov with Microsoft SMTPSVC(5.0.2195.6713); Tue, 28 Mar 2006 11:51:56 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Re: ADO operations Date: Tue, 28 Mar 2006 11:51:55 -0500 Message-Id: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ODBC] ADO operations Thread-Index: AcZNwwIuqT2cmxhcR9SjTU59FcV3BAExJcBA From: "Jamal Mazrui" To: "Ludek Finstrle" , "SAFAK CIRAG" Cc: X-OriginalArrivalTime: 28 Mar 2006 16:51:56.0554 (UTC) FILETIME=[EC52A6A0:01C65287] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=3.89 required=5 tests=[AWL=-0.180, DNS_FROM_RFC_ABUSE=0.479, DNS_FROM_RFC_POST=1.44, RCVD_IN_WHOIS_INVALID=2.151] X-Spam-Score: 3.89 X-Spam-Level: *** X-Archive-Number: 200603/195 X-Sequence-Number: 7481 This error can be caused by using the adCmdTableDirect constant as the last parameter of the Open method of a record set object. Try using AdCmdTable instead. Also, such errors are reduced if adUseClient is used as the cursor location instead of adUseServer. Hope this helps, Jamal -----Original Message----- From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Ludek Finstrle Sent: Wednesday, March 22, 2006 10:06 AM To: SAFAK CIRAG Cc: pgsql-odbc@postgresql.org Subject: Re: [ODBC] ADO operations > I'm using psqlodbc-08_01_0200. I created a database with UTF-8 > encoding. While inserting,updating or deleting a record, > PostgreSQL Unicode Driver Do you mean you use UPDATE, INSERT and DELETE SQL statements? Are you able to do this with psql or pgAdmin client? > returns an error : "Insufficient base table information for > updating or refreshing". Before creating the database with UTF-8 Please send us the mylog output with the problem. Regards, Luf ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster