🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.ado
1 messages
1 total messages Started by GIGI Mon, 13 Feb 2006 12:32
PostgreSQL blob data storing
#669
Author: GIGI
Date: Mon, 13 Feb 2006 12:32
13 lines
1625 bytes
Hi,
I keep on trying to store image data in database. In postgres column
type is bytea and i've postgres 8.1
I connect to db with ADOConnection, set up a insert query and then
execute it. During that execution i catch exception "type name is
incorrect" or sth like that.

aqInsert->Parameters->ParamByName("FNGR")->LoadFromStream( pSign,
ftTypedBinary    );
I've also tried with ftBlob, ftTypedBinary, ftBytes, ftVarBytes field
type.
Any help appriciated.
GIGI
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads