Re: error msg when pg_restore

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: error msg when pg_restore
Дата
Msg-id 19176.1156344646@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: error msg when pg_restore  ("nuno" <wegein@gmail.com>)
Список pgsql-general
"nuno" <wegein@gmail.com> writes:
> pg_restore: [archiver (db)] could not execute query: ERROR:  could not
> access file "$libdir/dbsize": No such file or directory
>     Command was: CREATE FUNCTION relation_size(text) RETURNS bigint
>     AS '$libdir/dbsize', 'relation_size'
>     LANGUAGE c STRICT;

You haven't installed the "dbsize" module, which evidently existed in
your old installation.

[ checks around... ]  Actually, dbsize disappeared from contrib in 8.1
because the functions got integrated into the core (some under different
names than before).  So you should be able to just ignore those errors,
unless maybe some of your own objects like views depended on them.
In that case you'd have to recreate the view manually with a corrected
definition.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: pl/R problem
Следующее
От: Erik Jones
Дата:
Сообщение: Re: Majordomo drops multi-line Subject: