Skip site navigation (1) Skip section navigation (2)

Invalid BLOB Length

From: PostgreSQL Server <postgres(at)www(dot)Mythos(dot)Org>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Invalid BLOB Length
Date: 1999-03-24 07:13:08
Message-ID: 199903240713.CAA11996@Mythos.Org (view raw or flat)
Thread:
Lists: pgsql-interfaces

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

Responses

pgsql-interfaces by date

Next:From: Brett W. McCoyDate: 1999-03-24 08:07:19
Subject: Re: [INTERFACES] Converting microsoft access to postgresql
Previous:From: Michael DavisDate: 1999-03-24 05:36:28
Subject: RE: [INTERFACES] Converting microsoft access to postgresql

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group