Skip site navigation (1) Skip section navigation (2)

Image insertion by using BLOB

From: Som <shekhar(at)easi(dot)soft(dot)net>
To: Queries <pgsql-sql(at)postgresql(dot)org>
Subject: Image insertion by using BLOB
Date: 2001-01-31 11:20:10
Message-ID: 3A77F4EA.A3BC14A8@easi.soft.net (view raw or flat)
Thread:
Lists: pgsql-sql
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













Responses

pgsql-sql by date

Next:From: Blaise CarruptDate: 2001-01-31 12:06:30
Subject: Re: interval query.
Previous:From: Antti LinnoDate: 2001-01-31 09:43:29
Subject: interval query.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group