in /contrib/lo.
The dump seems to work just fine, I get no errors when I execute the
following command
#pg_dump -Fc -o -b mydb > mydb_dump
CREATE DATABASE mydb_restore TEMPLATE template0
But when I execute the following command I get the following error
message:
#pg_restore -d mydb_restore -FC mydb_dump
pg_restore: NOTICE: type "lo" is not yet defined
DETAIL: Creating a shell type definition.
pg_restore: NOTICE: argument type lo is only a shell
pg_restore: [archiver (db)] could not execute query: ERROR: function
lo(oid) does not exist
Does anybody have an idea?