Re: Basics



I can't really get it to work. The blob stream refuses to give me any data -
it creates fine but .Read() always returns zero, as do size and position.

I think I'm doing it wrong.

This is the declaration of the table:

CREATE TABLE foto
(
sfoto serial NOT NULL,
nrusercard character(7) DEFAULT ''::bpchar,
data timestamp without time zone DEFAULT now(), -- Asta este data+ora
fisierului jpg (din adir)
poza bytea,
CONSTRAINT pk_sfoto PRIMARY KEY (sfoto)
)

--

As an afterthought, doesn't all this depend on the driver? Doesn't ADO need
a provider? Maybe mine's broken or something. What did you use to get blobs
out of postgres (8.2 here) ?

--
Ndi


.