🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #669

PostgreSQL blob data storing

#669
From: 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
Technical Details
Message-ID: <1139833961.951264.159660@o13g2000cwo.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!o13g2000cwo.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,50c4d8c4718ffeeb,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!o13g2000cwo.googlegroups.com!not-for-mail
From: "GIGI" <GIGIak@gmail.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: PostgreSQL blob data storing
Date: 13 Feb 2006 04:32:42 -0800
Organization: http://groups.google.com
Lines: 14
Message-ID: <1139833961.951264.159660@o13g2000cwo.googlegroups.com>
NNTP-Posting-Host: 193.178.240.4
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1139833967 13526 127.0.0.1 (13 Feb 2006 12:32:47 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 13 Feb 2006 12:32:47 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1,gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 proxy.wasko.pl:8080 (squid/2.5.STABLE9)
Complaints-To: groups-abuse@google.com
Injection-Info: o13g2000cwo.googlegroups.com; posting-host=193.178.240.4;
   posting-account=PFrdfw0AAAA_QidtkZvP6KEg-q3dvcRn