pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: sandhya <sandhyar@amiindia.co.in>
To: Jeff Frost <jeff@frostconsultingllc.com>
Cc: Postgres <pgsql-admin@postgresql.org>
Subject: Re: Fw: lo_import problem
Date: Thu, 19 Jan 2006 13:08:40 +0530
Message-ID: <010101c61ccb$5e8a7970$cd00000a@sandhyar> (raw)
References: <00e101c61cc7$7ea2dcb0$cd00000a@sandhyar>
	<Pine.LNX.4.64.0601182325470.14339@discord.dyndns.org>

I am trying on windows..I am getting the following error message.
ERROR:  could not open server file


----- Original Message -----
From: "Jeff Frost" <jeff@frostconsultingllc.com>
To: "sandhya" <sandhyar@amiindia.co.in>
Cc: "Postgres" <pgsql-admin@postgresql.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@frostconsultingllc.com>
> Frost Consulting, LLC http://www.frostconsultingllc.com/
> Phone: 650-780-7908 FAX: 650-649-1954
>





view thread (6+ messages)  latest in thread

Message-ID: <010101c61ccb$5e8a7970$cd00000a@sandhyar>
Permalink:  ../010101c61ccb$5e8a7970$cd00000a@sandhyar/
Also on:    postgresql.org/message-id/010101c61ccb$5e8a7970$cd00000a@sandhyar

 · 

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-admin@postgresql.org
  Cc: sandhyar@amiindia.co.in, jeff@frostconsultingllc.com
  Subject: Re: Fw: lo_import problem
  In-Reply-To: <010101c61ccb$5e8a7970$cd00000a@sandhyar>
  References: <00e101c61cc7$7ea2dcb0$cd00000a@sandhyar> <Pine.LNX.4.64.0601182325470.14339@discord.dyndns.org> <010101c61ccb$5e8a7970$cd00000a@sandhyar>

* 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