| От | Tom Lane |
|---|---|
| Тема | Re: pg_restore in debian postgresql 7.3.2-3 |
| Дата | |
| Msg-id | 11067.1046359651@sss.pgh.pa.us обсуждение |
| Ответ на | pg_restore in debian postgresql 7.3.2-3 (Herbert Liechti <herbert.liechti@thinx.ch>) |
| Список | pgsql-general |
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
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера