Solved...Re: [GENERAL] Failing lo_import on RH 5.1 -- postgresql-6.3.2 (please help-I'm on my knees..)

From: Jeroen Schaap <jeroen(at)rulffk(dot)medfac(dot)leidenuniv(dot)nl>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: jeroen(at)rulffh(dot)medfac(dot)leidenuniv(dot)nl, brook(at)trillium(dot)NMSU(dot)Edu, pgsql-general(at)postgreSQL(dot)org
Subject: Solved...Re: [GENERAL] Failing lo_import on RH 5.1 -- postgresql-6.3.2 (please help-I'm on my knees..)
Date: 1998-11-13 14:46:15
Message-ID: 364C4637.9277753C@rulffk.medfac.leidenuniv.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bruce Momjian wrote:
>
> > Brook Milligan wrote:
> > >
> > > [jeroen(at)rulgfu sql]$ psql -f test.sql
> > > insert into testfile values (lo_import('test.sql'));
> > > ERROR: be_lo_import: can't open unix file"test.sql"
> > >
> > > Isn't the problem that the backend expects test.sql to be in the data
> > > directories somewhere? Try a full path.

> Try this patch.

I found the problem:
RH 5.1 sets the home directories unsearchable by others.
Setting chmod ag+x <home-dir> helped
Full paths are needed.

Thanks a lot everyone!!

And oh... I've applied the patch. Anyone interested in the regression
results?

Jeroen

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Hoffmann 1998-11-13 17:53:47 Problem with 6.4 and "createdb -D"
Previous Message Postgres DBA 1998-11-13 12:33:41 cyrillic recode support