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 635FDD1CB50 for ; Mon, 19 Jan 2004 23:02:35 +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 71849-01 for ; Mon, 19 Jan 2004 19:02:06 -0400 (AST) Received: from web20808.mail.yahoo.com (web20808.mail.yahoo.com [216.136.226.197]) by svr1.postgresql.org (Postfix) with SMTP id C6DCDD1B91A for ; Mon, 19 Jan 2004 19:02:02 -0400 (AST) Message-ID: <20040119230203.70409.qmail@web20808.mail.yahoo.com> Received: from [208.13.35.65] by web20808.mail.yahoo.com via HTTP; Mon, 19 Jan 2004 15:02:03 PST Date: Mon, 19 Jan 2004 15:02:03 -0800 (PST) From: Jeff Eckermann Subject: Re: Adding long text to a text field generates an error To: Ben Ramsey Cc: pgsql-odbc@postgresql.org In-Reply-To: <400C5CBA.7030802@benandliz.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/53 X-Sequence-Number: 3682 --- Ben Ramsey wrote: > > "Text" in this context refers to the PostgreSQL > > datatype "text". Whether the setting matters > depends > > on whether "text" is what you are using, and on > what > > LongVarChar maps to in your environment. For > example, > > in MS Access it maps to "memo", which has > limitations > > (e.g. cannot be included in the where clause of a > > query). > > > > I think better just to up the number. Pick a big > > number, and see what happens. While you are at > it, up > > the Max VarChar setting, too. > > Well, I am using the PostgreSQL datatype "text" in > this context, so that > should work. Also, why should I raise Max VarChar > over the default > varchar setting of 255? I guess it doesn't matter if you are using the text datatype. AFAIK varchar(n) maps to ODBC VarChar, so it would matter if you were using varchar(n). > > I guess what I'll do is just play around with it as > someone suggested. > I really didn't know those settings were there until > you asked me to > post the ODBC driver settings. I had completely > overlooked them. > > Thanks a bunch! We haven't established that this works, yet ;-) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus