Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 6883447590C for ; Wed, 25 Sep 2002 08:52:40 -0400 (EDT) Received: from ws2.hk5.outblaze.com (202-77-181-84.outblaze.com [202.77.181.84]) by postgresql.org (Postfix) with SMTP id 04557476317 for ; Wed, 25 Sep 2002 08:52:39 -0400 (EDT) Received: (qmail 9157 invoked by uid 1001); 25 Sep 2002 12:52:41 -0000 Message-ID: <20020925125241.9155.qmail@graffiti.net> Content-Type: text/plain; charset="iso-8859-15" Content-Disposition: inline Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Mailer: MIME-tools 4.104 (Entity 4.117) Received: from [211.22.33.166] by ws2.hk5.outblaze.com with http for cnliou@graffiti.net; Wed, 25 Sep 2002 20:52:41 +0800 From: "CN LIOU" To: pgsql-odbc@postgresql.org Date: Wed, 25 Sep 2002 20:52:41 +0800 Subject: Re: IODBC32.DLL: Access Violation X-Originating-Ip: 211.22.33.166 X-Originating-Server: ws2.hk5.outblaze.com X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/93 X-Sequence-Number: 2064 Thank you very much! Hiroshi, > > psqlODBC 7.02.0002 + PostgreSql 7.2.1 + Borland BDE +Windows95. [snip] > > > > Thus, I am trying to use TEXT column instead - and fail, too: > > > > create table MyTable (c1 integer,c2 text); > > --Then fill up value2 with string value using Delphi. > > INSERT INTO MyTable VALUES(:value1,:value2) > > > > The INSERT results in Access Violation from IDODBC32.DLL. > > Please note that value2 is about 55 kbytes in size and contains > > some low values, '\0' in terms of C. Can this be the problem > > confusing pgsqlODBC? > > Yes. I have then also removed low values from the string but AV remains. I have set the pgsqlODBC switches according to the instructions in: http://gborg.postgresql.org/project/psqlodbc/faq/faq.php?faq_id=61 Can '\r' or '\n' be a problem? What are the allowed/disallowed characters in LongVarChar (to be sent to postgreSQL TEXT data type column)? CN -- _______________________________________________ Get your free email from http://www.graffiti.net Powered by Outblaze