From: Andre Felipe Machado <andremachado@techforce.com.br>
To: Hiroshi Inoue <Inoue@tpf.co.jp>
Cc: pgsql-odbc@postgresql.org
Subject: Re: large objects and pg 7.3.x with OpenOffice.org
Date: Thu, 21 Aug 2003 08:49:30 -0300
Message-ID: <200308210849.32534.andremachado@techforce.com.br> (raw)
In-Reply-To: <3F44A0A3.8363A1@tpf.co.jp>
References: <003201c3672a$31069c30$3d283ddb@PbgX>
<200308201413.44280.andremachado@techforce.com.br>
<3F44A0A3.8363A1@tpf.co.jp>
Hello, Hiroshi
Many thanks for your message.
I opened a new issue at openoffice.org describing this behaviour and asking
for some guidance, given your findings in the log.
I tried to use the "bytea as LO" in the psqlodbc, but it does not work too.
An error pops : error inserting the record.
SQL error HY000
Error code 7.
Verifying the db, it shows the ID updated, but not the image.
Please, try yourself to see the details.
For use bytea as lo, is there another set up to execute?
Best regards.
Andre Felipe
>
> OpenOffice is binding SQL_BINARY(SQL_C_BINARY seems a unixODBC's
> bug) SQL Type parameter not an SQL_LONGVARBINARY one. Unfortunately
> I don't understand the reason.
>
> Though I don't love the *bytea* type, you can turn on
> the *bytea as LO* DSN option. *bytea* is only for not
> so large objects.
>
> regards,
> Hiroshi Inoue
> http://www.geocities.jp/inocchichichi/psqlodbc/
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, Inoue@tpf.co.jp
Subject: Re: large objects and pg 7.3.x with OpenOffice.org
In-Reply-To: <200308210849.32534.andremachado@techforce.com.br>
References: <003201c3672a$31069c30$3d283ddb@PbgX> <200308201413.44280.andremachado@techforce.com.br> <3F44A0A3.8363A1@tpf.co.jp> <200308210849.32534.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