pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joel Fradkin <jfradkin@wazagua.com>
To: 'Dave Page' <dpage@vale-housing.co.uk>
To: pgsql-odbc@postgresql.org
Cc: ac@wazagua.com
Subject: Re: MaxLongVarcharSize=8190;
Date: Fri, 22 Jul 2005 08:31:28 -0400
Message-ID: <000801c58eb9$48f7a3d0$797ba8c0@jfradkin> (raw)
In-Reply-To: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC9460@ratbert.vale-housing.co.uk>

Thanks Dave,

 

I guess there is no down side to allowing the users longer text fields for
notes then.

 

I was testing the libpq driver yesterday doing stress tests from our web app
and did not see any leakage.

I also did not see any errors (My test server is not very robust, so I could
only get like 4 concurrent users working using the web stress tool from MS
before the site itself stopped being happy). I do plan to get a robust
server to test on next week and can grab the latest snapshot.

 

I am a little unclear on the questions about postgres headers, do I just go
find the source for that and put the headers in my project.

I am compiling under .net (the version I tested was I believe all the latest
and greatest from csv).

I can try switching back to vc++ vrom studio 6 if that is the concensus and
use the mak file as you recommended.

It has been several years for me to do compiling from the command line in
C++, so I feel more comfortable in the IDE.

 

I am concerned about trying to convert to unicode and the new drivers again,
because last time my tests went smoth (using the non libpq driver) and in
production it fell like a punctured blimp. I wasted like 18hours of my time
(not totally least I have a current data set in unicode to test with).

 

I have not tried the new drivers with SQLASCII database, so I will see what
it does with that (if its like the non libpq driver it will not display the
french properly unless it's a unicode data base).

 

I was also unclear what you meant by -4 (SQL_NO_TOTAL)?

 

Joel
 

-----Original Message-----
From: Dave Page [mailto:dpage@vale-housing.co.uk] 
Sent: Friday, July 22, 2005 3:56 AM
To: Joel Fradkin; pgsql-odbc@postgresql.org
Subject: RE: [ODBC] MaxLongVarcharSize=8190;

 

 

 


  _____  


From: pgsql-odbc-owner@postgresql.org
[mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Joel Fradkin
Sent: 21 July 2005 22:34
To: pgsql-odbc@postgresql.org
Subject: [ODBC] MaxLongVarcharSize=8190;

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. 

 

Err, why exactly? As far as I'm aware, that option has always worked
properly.

 

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? 

 

Set it to whatever you need. iirc, you can also use -4 (SQL_NO_TOTAL) if you
like.

 

Regards, Dave.

view thread (5+ messages)  latest in thread

Message-ID: <000801c58eb9$48f7a3d0$797ba8c0@jfradkin>
Permalink:  ../000801c58eb9$48f7a3d0$797ba8c0@jfradkin/
Also on:    postgresql.org/message-id/000801c58eb9$48f7a3d0$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, dpage@vale-housing.co.uk, ac@wazagua.com
  Subject: Re: MaxLongVarcharSize=8190;
  In-Reply-To: <000801c58eb9$48f7a3d0$797ba8c0@jfradkin>
  References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC9460@ratbert.vale-housing.co.uk> <000801c58eb9$48f7a3d0$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