pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jaime Casanova <systemguards@yahoo.com>
To: pgsql-odbc@postgresql.org
Subject: inserting images
Date: Fri, 29 Oct 2004 15:30:36 -0500 (CDT)
Message-ID: <20041029203036.72151.qmail@web50006.mail.yahoo.com> (raw)
In-Reply-To: <6C0CF58A187DA5479245E0830AF84F4208046B@poweredge.attiksystem.ch>

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



Message-ID: <20041029203036.72151.qmail@web50006.mail.yahoo.com>
Permalink:  ../20041029203036.72151.qmail@web50006.mail.yahoo.com/
Also on:    postgresql.org/message-id/20041029203036.72151.qmail@web50006.mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: systemguards@yahoo.com
  Subject: Re: inserting images
  In-Reply-To: <20041029203036.72151.qmail@web50006.mail.yahoo.com>
  References: <6C0CF58A187DA5479245E0830AF84F4208046B@poweredge.attiksystem.ch> <20041029203036.72151.qmail@web50006.mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox