X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 9C261D1B432 for ; Thu, 27 Nov 2003 04:52:01 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 25354-04 for ; Thu, 27 Nov 2003 00:51:30 -0400 (AST) Received: from oasis-ca.com (oasis-ca.com [64.235.238.151]) by svr1.postgresql.org (Postfix) with ESMTP id 2722CD1B475 for ; Thu, 27 Nov 2003 00:51:29 -0400 (AST) Received: from mail.oasis-ca.com (oasis [127.0.0.1]) by oasis-ca.com (8.12.3/8.12.3/Debian-6.6) with ESMTP id hAR4p4Yc021125 for ; Wed, 26 Nov 2003 20:51:04 -0800 From: "Rudi Starcevic" To: pgsql-admin@postgresql.org Subject: Re: pg_lo_import alternative ... Date: Thu, 27 Nov 2003 14:51:04 +1000 Message-Id: <20031127044308.M16952@oasis.net.au> In-Reply-To: References: X-Mailer: Open WebMail 2.21 20031110 X-OriginatingIP: 210.8.139.5 (rudi) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/461 X-Sequence-Number: 11448 Hi, > Anyone that that is using Postgres for storage and retrival of > images please post your experiences. I've been very happy with a web application I built which stores images in Postgresql in text format. I use PHP to base_64 encode the binary image file into a text string and store that. I can send you a PHP class which I use to encode/decode the images and inserts them into a table. Email me off list if your keen. Cheers Rudi.