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 12:01:31 -0400
Message-ID: <000401c58ed6$a1065720$797ba8c0@jfradkin> (raw)
In-Reply-To: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC9486@ratbert.vale-housing.co.uk>

 

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).

 

In what way? Is that what was crashing in the night?

 

I am not sure what was crashing us at night (or daytime for that matter).

Interestingly the catastrophic error I got when I had the permissions wrong
for debug is the same one we got most of the time, so maybe its something
weird with permissions.

 

I did test the libpq driver with the SQLASCII and found it displays ? marks,
so I guess I have to convert to Unicode (which is what I wanted to do anyway
to make sure upper and length etc work properly).

 

I also tested various lengths of text with both the older driver (seems to
be 100k limit before the record set complains in asp) and newest libpq (did
not seem to mind any length tested with a 1 meg text test data insertion and
editing in asp). In my connect string in both cases (older and newer
driver)I had the max length 

 

Current settings

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

 

set to 16K so I guess that is not what determines what the recordeset can
work with.

 

So far only good news on the testing of the new driver. I will try to get a
production box (2 proc 2650 4 meg) up for IIS and set up a test Unicode
database on my 4 proc Dell redhat postgres box for doing a bit more in deph
testing next week.

 

Joel

view thread (5+ messages)

Message-ID: <000401c58ed6$a1065720$797ba8c0@jfradkin>
Permalink:  ../000401c58ed6$a1065720$797ba8c0@jfradkin/
Also on:    postgresql.org/message-id/000401c58ed6$a1065720$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: <000401c58ed6$a1065720$797ba8c0@jfradkin>
  References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC9486@ratbert.vale-housing.co.uk> <000401c58ed6$a1065720$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