pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedInvalid BLOB Length
2+ messages / 2 participants
[nested] [flat]
* Invalid BLOB Length
@ 1999-03-24 07:13 PostgreSQL Server <postgres@www.Mythos.Org>
1999-03-24 14:35 ` Re: [INTERFACES] Invalid BLOB Length Byron Nikolaidis <byronn@insightdist.com>
0 siblings, 1 reply; 2+ messages in thread
From: PostgreSQL Server @ 1999-03-24 07:13 UTC (permalink / raw)
To: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [INTERFACES] Invalid BLOB Length
1999-03-24 07:13 Invalid BLOB Length PostgreSQL Server <postgres@www.Mythos.Org>
@ 1999-03-24 14:35 ` Byron Nikolaidis <byronn@insightdist.com>
0 siblings, 0 replies; 2+ messages in thread
From: Byron Nikolaidis @ 1999-03-24 14:35 UTC (permalink / raw)
To: PostgreSQL Server <postgres@www.Mythos.Org>; +Cc: pgsql-interfaces
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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~1999-03-24 14:35 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-03-24 07:13 Invalid BLOB Length PostgreSQL Server <postgres@www.Mythos.Org>
1999-03-24 14:35 ` Byron Nikolaidis <byronn@insightdist.com>
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