Re: pg_restore in debian postgresql 7.3.2-3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Herbert Liechti <herbert(dot)liechti(at)thinx(dot)ch>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_restore in debian postgresql 7.3.2-3
Date: 2003-02-27 15:27:31
Message-ID: 11067.1046359651@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Herbert Liechti <herbert(dot)liechti(at)thinx(dot)ch> writes:
> pg_restore: [archiver (db)] could not execute query: ERROR: stat failed on
> file '$libdir/plpgsql': No such file or directory

> my environment ist set to:

> PGDATA=/var/lib/postgres/data
> PGLIB=/usr/lib/postgresql/lib
> POSTGRES_HOME=/var/lib/postgres
> POSTGRES_LOG=/var/log/postgres.log

> The plpgsql.so lib is in the $PGLIB directory.

AFAIR, Postgres has not paid attention to the PGLIB environment variable
for a very long time. (I still have it set too, but only 'cause I
haven't gotten round to removing it from ~/.profile ...)

"pg_config --pkglibdir" should tell you what $libdir actually resolves
as.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Nigel J. Andrews 2003-02-27 15:28:14 Re: selective copy
Previous Message Jeff Eckermann 2003-02-27 15:27:29 Re: selective copy