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

Delphi, Posgres and Large objects

From: Ramon Yago <alonso(at)hrpuche(dot)es>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Delphi, Posgres and Large objects
Date: 1999-07-23 08:06:09
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
I have this problem:

I'm working with Postgres database server on Linux Red Hat 6.
I've been working with tables (create, delete, insert, ...) doing easy
things, but now I am interested in Large binary objects.
As client box, I have a Pentium with Windows 98 and DELPHI 4. I'm
working with Postgres ODBC drivers to access to the server.  Now I would

like to insert binary objects in a table (Jpg, video,...). I've just
created a field of oid type in a table but  when I work with this field,

I only can insert or extract files (a Photo for example) that are stored

at my server, not at my client box.
I would like to insert in my table a large objet from DELPHI, that is,
if I have a Image or DBImage object in DELPHI (a photograph for
example), how can I pass it using ODBC to Postgres?.
How can I insert in a Postgres table an objet from DELPHI, Visual Basic,

Visual C, etc using ODBC?

I've tried to export a Microsoft Access table with OLE fields to
Postgres, but I can't do this. There is a example database in Access
called 'Plants' that contains an OLE field. How can I export this table
to Postgres?

I need an example on delphi.

I hope you can help me.
Thank you very much.

pgsql-interfaces by date

Next:From: StOoDate: 1999-07-23 09:43:38
Subject: syncronous databases
Previous:From: Dave PageDate: 1999-07-23 07:20:38
Subject: RE: [INTERFACES] libpq and VB

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