| From: | "Aaron Bono" <postgresql(at)aranya(dot)com> |
|---|---|
| To: | "Penchalaiah P(dot)" <penchalaiahp(at)infics(dot)com> |
| Cc: | pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: Problem while using lo_import and lo_export |
| Date: | 2006-08-03 00:09:09 |
| Message-ID: | bf05e51c0608021709o6f7594d0j12e1f161dcecc71e@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
On 8/2/06, Penchalaiah P. <penchalaiahp(at)infics(dot)com> wrote:
>
> Hi,
>
>
>
> I have PostgresSQL database connection from server. Server ip is
> 172.16.5.179
>
>
>
> Now I want use lo_import and lo_export function for storing images into
> the database.
>
>
>
> This images is located in my system itself.
>
>
>
> When I am going using the following query…
>
>
>
> Insert into image
> values('chanukya',lo_import('D:/Vivek/Personal/PICS/IN/chanukya.jpg'))
>
>
>
> ….it rises error 'no such file or directory'
>
Looks like you are running on a Windows machine. Did you try:
Insert into image
values('chanukya',lo_import('D:\Vivek\Personal\PICS\IN\chanukya.jpg'));
Windows uses \, not /. I am not sure if PostgreSQL will translate for you
like Java does.
==================================================================
Aaron Bono
Aranya Software Technologies, Inc.
http://www.aranya.com
==================================================================
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Aaron Bono | 2006-08-03 00:11:52 | Re: How to cal function in one another |
| Previous Message | Aaron Bono | 2006-08-02 18:01:57 | Re: Joining a result set from four (4) tables |