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 60CA8D1B49B for ; Mon, 19 Jan 2004 17:08: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 75964-08 for ; Mon, 19 Jan 2004 13:07:33 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id C6521D1B447 for ; Mon, 19 Jan 2004 13:07:32 -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 i0JH7RU6097584 for ; Mon, 19 Jan 2004 17:07:27 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i0JH0D68096331 for pgsql-odbc@postgresql.org; Mon, 19 Jan 2004 17:00:13 GMT From: Ben Ramsey X-Newsgroups: comp.databases.postgresql.interfaces.odbc Subject: Re: Adding long text to a text field generates an error Date: Mon, 19 Jan 2004 12:00:07 -0500 Organization: Hub.Org Networking Services Lines: 17 Message-ID: <400C0D17.9000809@benandliz.com> References: <20040119154054.41655.qmail@web20807.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org To: Jeff Eckermann 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 In-Reply-To: <20040119154054.41655.qmail@web20807.mail.yahoo.com> To: pgsql-odbc@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/50 X-Sequence-Number: 3679 > Please post your ODBC driver settings. The table > definitions and the sql you are using may be helpful > also. I was ready to post my code and table definition and everything, and then I opened up the driver settings for the DSN that connects to the database, clicked on the "Datasource" options button, which launched a window with all sorts of options. Here's what I found: "Text as LongVarChar" is checked. "Max LongVarChar" is set to 8190. Should I uncheck "Text as LongVarChar"? What will it do if I uncheck it? If I shouldn't uncheck it, then what should I set "Max LongVarChar" to in order to allow unlimited amounts of text? -Ben