From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Sudhir S, Noida <sudhirs@noida.hcltech.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: lo_import doesn't works through ODBC !
Date: Mon, 14 Apr 2003 11:57:28 +0900
Message-ID: <3E9A2398.5F70C14C@tpf.co.jp> (raw)
References: <E04CF3F88ACBD5119EFE00508BBB212108ACFAA5@exch-01.noida.hcltech.com>
"Sudhir S, Noida" wrote:
>
> I am successful by trying the following SQL statement in the psql prompt.
> INSERT INTO image (name, raster)
> VALUES ('myimg', lo_import('/var/lib/pgsql/CmpJpg.jpg'));
>
> Through the psql interface this works properly and i have tried the
> same using the UnixODBC's isql interface as well which again works
> perfectly.
>
> The problem is, the same SQL statement doesn't works through ODBC, I have
> no clues why it doesn't ? And when i tried to debug the application
> at some point of time i can notice that "Error while executing the Query
> (non-fatal)" and the return value is STMT_INFO_ONLY
>
> Any inputs on this problem would be hightly appreciated..
You seem to be using a pretty old driver.
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: Inoue@tpf.co.jp, sudhirs@noida.hcltech.com
Subject: Re: lo_import doesn't works through ODBC !
In-Reply-To: <3E9A2398.5F70C14C@tpf.co.jp>
References: <E04CF3F88ACBD5119EFE00508BBB212108ACFAA5@exch-01.noida.hcltech.com> <3E9A2398.5F70C14C@tpf.co.jp>
* 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