Search Postgresql Archives

Re: error msg when pg_restore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"nuno" <wegein@xxxxxxxxx> 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux