X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id EF6A2D1DB8B for ; Mon, 19 Jan 2004 15:38:04 +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 51072-02 for ; Mon, 19 Jan 2004 11:37:37 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 7B441D1D8AD for ; Mon, 19 Jan 2004 11:37:27 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i0JFbLU6080931 for ; Mon, 19 Jan 2004 15:37:26 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i0JFRqq9079373 for pgsql-odbc@postgresql.org; Mon, 19 Jan 2004 15:27:52 GMT From: Ben Ramsey X-Newsgroups: comp.databases.postgresql.interfaces.odbc Subject: Adding long text to a text field generates an error Date: Mon, 19 Jan 2004 10:27:57 -0500 Organization: Hub.Org Networking Services Lines: 35 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en To: pgsql-odbc@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/47 X-Sequence-Number: 3676 I'm using PostgreSQL 7.4 on a Windows 2000 server with cygwin. All is set up just fine. The database works just fine, and ASP is connecting to the database through a DSN just fine. The only problem I seem to have is adding a large amount of text to a text column in the database. I can enter up to 8,118 characters (including spaces), but when I go over that amount, I receive the following error: Microsoft OLE DB Provider for ODBC Drivers error '80040e21' Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done. This error doesn't mean much to me. I've spent a month researching it and trying to figure out what it means in our situation, but I have yet to resolve it. Thus, I'm turning to this list to see if anyone has any ideas or has tackled this problem before. I've tried using the appendChunk method in ASP to add chunks to the field in the database (this worked before for us on a Linux box running ChiliSoft ASP), but I get another error saying that the method is not supported. We are using psqlODBC to connect with the DSN--I do not know if this driver has anything to do with this circumstance. I am currently using ADO to update the database, but I have used a standard SQL INSERT statement for testing, and I get the same error and problem. When I've run an INSERT query against the database itself (from the command prompt), it won't update the record when I try inserting more than 8,118 characters into a text column. I've double-checked to make sure the column is of datatype "text" and not anything else. It is. So, it should accept unlimited text, right? Has anyone seen this problem before? I need help ASAP because our client is refusing to pay until this is resolved. Thanks, Ben