Re: Fw: lo_import problem

From: "sandhya" <sandhyar(at)amiindia(dot)co(dot)in>
To: "Jeff Frost" <jeff(at)frostconsultingllc(dot)com>
Cc: "Postgres" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Fw: lo_import problem
Date: 2006-01-19 07:37:09
Message-ID: 00f801c61ccb$27dcfa10$cd00000a@sandhyar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I am trying on windows............
It is not coming.Version is 8.0

----- Original Message -----
From: "Jeff Frost" <jeff(at)frostconsultingllc(dot)com>
To: "sandhya" <sandhyar(at)amiindia(dot)co(dot)in>
Cc: "Postgres" <pgsql-admin(at)postgresql(dot)org>
Sent: Thursday, January 19, 2006 1:00 PM
Subject: Re: [ADMIN] Fw: lo_import problem

> This is what works for me from the command line on Linux with PG 8.0.3:
>
> INSERT into images VALUES ( lo_import('/tmp/white.jpg'), 'white');
>
> What version of postgresql are you using?
>
> On Thu, 19 Jan 2006, sandhya wrote:
>
> >
> >
> >
> > When i am using lo_import to load files into the database i am getting
the following error.....
> > Please help me what i need to do
> >
> > Insert into sampletbl values(lo_import('c:\\sample.txt'),'sample.txt');
> >
> > ERROR: function lo_import ("unknown") does not exist
> > HINT: No function matches the given name and argument types. You may
need to ad
> > d explicit type casts.
>
> --
> Jeff Frost, Owner <jeff(at)frostconsultingllc(dot)com>
> Frost Consulting, LLC http://www.frostconsultingllc.com/
> Phone: 650-780-7908 FAX: 650-649-1954
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message sandhya 2006-01-19 07:38:40 Re: Fw: lo_import problem
Previous Message Jeff Frost 2006-01-19 07:30:45 Re: Fw: lo_import problem