From: Hiroshi Inoue <inoue@tpf.co.jp>
To: 'Xavier Le Vourch' <xavier@brittanysoftware.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Large objects truncated when retrieved
Date: Sun, 5 Oct 2003 08:38:52 +0900
Message-ID: <016e01c38ad0$ab2c6570$3d283ddb@PbgX> (raw)
In-Reply-To: <3F7F543F.8050807@brittanysoftware.com>
> -----Original Message-----
> From: Xavier Le Vourch
>
> Hiroshi Inoue wrote:
>
> >>-----Original Message-----
> >>From: Xavier Le Vourch
> >>Sent: Saturday, October 04, 2003 3:48 AM
> >>
> >>I'm storing pictures in a table using the lo type
> definition from the
> >>FAQ. The server version is 7.2.3 and the odbc driver is 7.3.100.
> >>
> >>The images are stored correctly and can be retrieved on the
> >>server fine
> >>using psql but the odbc driver truncates the objects at
> 32k+1 on the
> >>retrieve (they were stored correctly though).
> >
> >
> > Which data type are you using to store the images ?
>
> I'm using the lo type defined in the FAQ at:
>
> > And what kind of tools are you using ?
> > In most cases tools have their own limitations.
> I'm using Borland C++ 6 but the problem seems to be coming from the
> driver as when I enabled logging, I get messages like:
> conn=67191248, query='COMMIT'
> The 2th item was truncated
> The buffer size = 32769 and the value is '1040924'
Could you send me the Mylog debug output ?
regards,
Hiroshi Inoue
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
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: inoue@tpf.co.jp, xavier@brittanysoftware.com
Subject: Re: Large objects truncated when retrieved
In-Reply-To: <016e01c38ad0$ab2c6570$3d283ddb@PbgX>
References: <3F7F543F.8050807@brittanysoftware.com> <016e01c38ad0$ab2c6570$3d283ddb@PbgX>
* 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