Received: from correo.hrpuche.es (IDENT:root@[195.57.204.188]) by hub.org (8.9.3/8.9.3) with ESMTP id EAA82874 for ; Fri, 23 Jul 1999 04:05:50 -0400 (EDT) (envelope-from alonso@hrpuche.es) Received: from hrpuche.es (root@[10.128.253.210]) by correo.hrpuche.es (8.8.7/8.8.7) with ESMTP id KAA05100 for ; Fri, 23 Jul 1999 10:04:48 +0200 Sender: root@correo.hrpuche.es Message-ID: <37982271.1DF43323@hrpuche.es> Date: Fri, 23 Jul 1999 10:06:09 +0200 From: Ramon Yago X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: Delphi, Posgres and Large objects Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi. 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.