pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Eckermann <jeff_eckermann@yahoo.com>
To: Ben Ramsey <br@benandliz.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Adding long text to a text field generates an error
Date: Mon, 19 Jan 2004 15:02:03 -0800 (PST)
Message-ID: <20040119230203.70409.qmail@web20808.mail.yahoo.com> (raw)
In-Reply-To: <400C5CBA.7030802@benandliz.com>

--- Ben Ramsey <br@benandliz.com> 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



view thread (15+ messages)  latest in thread

Message-ID: <20040119230203.70409.qmail@web20808.mail.yahoo.com>
Permalink:  ../20040119230203.70409.qmail@web20808.mail.yahoo.com/
Also on:    postgresql.org/message-id/20040119230203.70409.qmail@web20808.mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: jeff_eckermann@yahoo.com, br@benandliz.com
  Subject: Re: Adding long text to a text field generates an error
  In-Reply-To: <20040119230203.70409.qmail@web20808.mail.yahoo.com>
  References: <400C5CBA.7030802@benandliz.com> <20040119230203.70409.qmail@web20808.mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox