pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Som <shekhar@easi.soft.net>
To: Queries <pgsql-sql@postgresql.org>
Subject: Image insertion by using BLOB
Date: Wed, 31 Jan 2001 16:50:10 +0530
Message-ID: <3A77F4EA.A3BC14A8@easi.soft.net> (raw)

Hi ALL,
I am trying to insert the image from the client to database by
spicifying the Windows NT machine filepath.
The server(postgresql 7.0)  is situated at the linux.
If filepath is linux m/c's then i can ...
If filepath is winNT then i have Exception saying :

ERROR: lo_import : ca't open unix file "/jigsaw/jigsaw/www/som.gif "
No such file or directory

Query is as follows::
insert into tablename values('som', lo_import('PATH'));

If possible , how ?


-som















view thread (2+ messages)  latest in thread

Message-ID: <3A77F4EA.A3BC14A8@easi.soft.net>
Permalink:  ../3A77F4EA.A3BC14A8@easi.soft.net/
Also on:    postgresql.org/message-id/3A77F4EA.A3BC14A8@easi.soft.net

 · 

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-sql@postgresql.org
  Cc: shekhar@easi.soft.net
  Subject: Re: Image insertion by using BLOB
  In-Reply-To: <3A77F4EA.A3BC14A8@easi.soft.net>
  References: <3A77F4EA.A3BC14A8@easi.soft.net>

* 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