pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ben Ramsey <br@benandliz.com>
To: Jeff Eckermann <jeff_eckermann@yahoo.com>
Subject: Re: Adding long text to a text field generates an error
Date: Mon, 19 Jan 2004 12:00:07 -0500
Message-ID: <400C0D17.9000809@benandliz.com> (raw)
In-Reply-To: <20040119154054.41655.qmail@web20807.mail.yahoo.com>
References: <bugt1o$2d9e$1@news.hub.org>
	<20040119154054.41655.qmail@web20807.mail.yahoo.com>

 > 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



view thread (15+ messages)  latest in thread

Message-ID: <400C0D17.9000809@benandliz.com>
Permalink:  ../400C0D17.9000809@benandliz.com/
Also on:    postgresql.org/message-id/400C0D17.9000809@benandliz.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: br@benandliz.com, jeff_eckermann@yahoo.com
  Subject: Re: Adding long text to a text field generates an error
  In-Reply-To: <400C0D17.9000809@benandliz.com>
  References: <bugt1o$2d9e$1@news.hub.org> <20040119154054.41655.qmail@web20807.mail.yahoo.com> <400C0D17.9000809@benandliz.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