pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joel Fradkin <jfradkin@wazagua.com>
To: pgsql-odbc@postgresql.org
Subject: MaxLongVarcharSize=8190;
Date: Thu, 21 Jul 2005 17:33:35 -0400
Message-ID: <000401c58e3b$da093ba0$797ba8c0@jfradkin> (raw)

When I pulled my connectionstring from the dns builder I got

MaxLongVarcharSize=8190;

We had data in our SQL database in text fields longer then 8k.

When a client tried to acces that record we got an error so I upped the
MaxLongVarcharSize=8190; to

MaxLongVarcharSize=18190;

This fixed the problem, but I have been told by a conulting group (PCM) that
using over 8 k might be causing my errors.

I did change it back to 8k and am a bit subjective on the outcome (we still
have been having issues, but not odbc related).

Does anyone know the correct settings for my connection string to use longer
then 8k text fields, or do I need to divide the data across multiple
records?

 

Current settings

MaxVarcharSize=254;MaxLongVarcharSize=8190;
TextAsLongVarchar=1;UnknownsAsLongVarchar=0;

 

 

 

Joel Fradkin

 

 

view thread (5+ messages)  latest in thread

Message-ID: <000401c58e3b$da093ba0$797ba8c0@jfradkin>
Permalink:  ../000401c58e3b$da093ba0$797ba8c0@jfradkin/
Also on:    postgresql.org/message-id/000401c58e3b$da093ba0$797ba8c0@jfradkin

 · 

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: jfradkin@wazagua.com
  Subject: Re: MaxLongVarcharSize=8190;
  In-Reply-To: <000401c58e3b$da093ba0$797ba8c0@jfradkin>
  References: <000401c58e3b$da093ba0$797ba8c0@jfradkin>

* 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