pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andre Felipe Machado <andremachado@techforce.com.br>
To: pgsql-odbc@postgresql.org
Subject: large objects and pg 7.3.x
Date: Mon, 18 Aug 2003 21:31:18 -0300
Message-ID: <200308182131.18596.andremachado@techforce.com.br> (raw)

Hello,
I am trying to use OpenOffice 1.1RC2 and its forms to store images (large 
objects) into a postgresql 7.3.2 connected through psqlodbc when at windows 
and unixodbc when at linux.
Since pg 7.3.0, the prescribed workaround to create a new type "lo" does not 
work anymore.
I already tested the semi-official postgresql-contrib package that contains a 
"lo" implementation in c and sql.
It works nicely.
I can store and extract images (jpeg, gif) from database and the trigger 
launches db cleanup when deleting.

Reading the code, with my limited skill, I found the following files 
containing large objects code in the psqlodbc:
connection.c
convert.c
execute.c
pgtypes.c
statements.c
And their companion h files.

Please, is this possible to modify psqlodbc to use the semi-official "lo" 
implementation?
Regards.
Andre Felipe





view thread (10+ messages)  latest in thread

Message-ID: <200308182131.18596.andremachado@techforce.com.br>
Permalink:  ../200308182131.18596.andremachado@techforce.com.br/
Also on:    postgresql.org/message-id/200308182131.18596.andremachado@techforce.com.br

 · 

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: andremachado@techforce.com.br
  Subject: Re: large objects and pg 7.3.x
  In-Reply-To: <200308182131.18596.andremachado@techforce.com.br>
  References: <200308182131.18596.andremachado@techforce.com.br>

* 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