Re: pg_restore in debian postgresql 7.3.2-3
Started by Tom Laneabout 23 years ago1 messagesgeneral
Herbert Liechti <herbert.liechti@thinx.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
Import Notes
Reply to msg id not found: 200302271630.06393.herbert.liechti@thinx.chReference msg id not found: 200302271630.06393.herbert.liechti@thinx.ch