From: Byron Nikolaidis <byronn@insightdist.com>
To: PostgreSQL Server <postgres@www.Mythos.Org>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] Invalid BLOB Length
Date: Wed, 24 Mar 1999 09:35:41 -0500
Message-ID: <36F8F83D.FD11A728@insightdist.com> (raw)
References: <199903240713.CAA11996@Mythos.Org>
PostgreSQL Server wrote:
> I am using Borland C++ Builder 3.0 with PostgreSQL 6.4.2 and the
> latest ODBC driver from ftp.postgresql.org.
>
> I created a table users that looks like this:
>
> CREATE TYPE lo (
> internallength = 4,
> externallenght = 10,
> input = int4in,
> output = int4out,
> send = int4out,
> receive = int4in,
> default = '',
> passedbyvalue);
>
> CREATE TABLE users (
> userid int4,
> username varchar(255),
> userimage lo);
>
> When I try and insert an image, the app returns "Invalid BLOB Length".
>
> What am I doing Wrong?
>
> Thanks
>
> Travis
Are there any errors in the driver's commlog ("psqlodbc.log") file? You
can also check the odbc trace log. If you can't figure anything out, you
can try sending me the logs and I could take a look.
Byron
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: byronn@insightdist.com, postgres@www.Mythos.Org
Subject: Re: [INTERFACES] Invalid BLOB Length
In-Reply-To: <36F8F83D.FD11A728@insightdist.com>
* 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