From: Andreas <maps.on@gmx.net>
To: pgsql-odbc@postgresql.org
Subject: problem with big varchars and adodb
Date: Sat, 17 Apr 2010 16:34:42 +0200
Message-ID: <4BC9C702.5050104@gmx.net> (raw)
Hi,
I've got PG 8.4 on WinXP with the latest official odbc driver.
Client is Access 2000. At least for now.
ADODB connection without DSN
I was figuring out how I can store debug-infos that come as large
textfiles and tried with what string-length the insert with adodb would
crash. ;)
The default wouldn't carry far so I upped MaxLongVarcharSize to 65535
because I thought this would get me 64kb strings.
When it wouldn't break with 128kb I went further though there weren't
any errors rised even when it stopped actually storing the big string.
Every other column worked still and the tupel got created.
After 40 million chars the text gets transparently replaced by the
current date formated as '2010-04-17 00:00:00'. The timedigits are all 0.
I wouldn't mind if there gets an error thrown instead of simply replace
the bad value.
Any ideas what's happening there?
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: maps.on@gmx.net
Subject: Re: problem with big varchars and adodb
In-Reply-To: <4BC9C702.5050104@gmx.net>
References: <4BC9C702.5050104@gmx.net>
* 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