X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7C48C3A3B63 for ; Fri, 29 Oct 2004 21:30:47 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 65683-07 for ; Fri, 29 Oct 2004 20:30:36 +0000 (GMT) Received: from web50006.mail.yahoo.com (web50006.mail.yahoo.com [206.190.38.21]) by svr1.postgresql.org (Postfix) with SMTP id 204FB3A3BA7 for ; Fri, 29 Oct 2004 21:30:37 +0100 (BST) Message-ID: <20041029203036.72151.qmail@web50006.mail.yahoo.com> Received: from [69.65.137.210] by web50006.mail.yahoo.com via HTTP; Fri, 29 Oct 2004 15:30:36 CDT Date: Fri, 29 Oct 2004 15:30:36 -0500 (CDT) From: Jaime Casanova Subject: inserting images To: pgsql-odbc@postgresql.org In-Reply-To: <6C0CF58A187DA5479245E0830AF84F4208046B@poweredge.attiksystem.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/135 X-Sequence-Number: 4610 HI all, i'm trying to insert images in a PostgreSQL database from a VB application using ODBC. So, i found there is a way involving an oid datatype column using lo_import/export functions. Can i use this with ODBC, how? Another way i found is with a bytea datatype column but a i need an equivalent of the PQescapeBytea function that comes with libpq. There is such a thing in ODBC? thanx in advance, Jaime Casanova _________________________________________________________ Do You Yahoo!? Información de Estados Unidos y América Latina, en Yahoo! Noticias. Visítanos en http://noticias.espanol.yahoo.com