pg_restore failed with the extension uuid-ossp.control
От | Pierre Ochsenbein |
---|---|
Тема | pg_restore failed with the extension uuid-ossp.control |
Дата | |
Msg-id | CABG8FoPApHcqz-0vqxd4BVDN6RBU9bkWaNR1x-kwmNoedjR1Bg@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: pg_restore failed with the extension uuid-ossp.control
|
Список | pgsql-admin |
Hi all,
How to install the package in my PostgreSQL10 ?
This is the error I receive:
16:35 -bash-4.2$ pg_restore -d postgres /var/lib/pgsql/pgsql_dump/postgres.custom
pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 2; 3079 61247 EXTENSION uuid-ossp
pg_restore: [archiver (db)] could not execute query: ERROR: could not open extension control file "/usr/pgsql-10/share/extension/uuid-ossp.control": No such file or directory
Command was: CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public;
pg_restore: [archiver (db)] Error from TOC entry 76585; 0 0 COMMENT EXTENSION "uuid-ossp"
pg_restore: [archiver (db)] could not execute query: ERROR: extension "uuid-ossp" does not exist
Command was: COMMENT ON EXTENSION "uuid-ossp" IS 'generate universally unique identifiers (UUIDs)';
16:35 -bash-4.2$ pg_restore -d postgres /var/lib/pgsql/pgsql_dump/postgres.custom
pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 2; 3079 61247 EXTENSION uuid-ossp
pg_restore: [archiver (db)] could not execute query: ERROR: could not open extension control file "/usr/pgsql-10/share/extension/uuid-ossp.control": No such file or directory
Command was: CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public;
pg_restore: [archiver (db)] Error from TOC entry 76585; 0 0 COMMENT EXTENSION "uuid-ossp"
pg_restore: [archiver (db)] could not execute query: ERROR: extension "uuid-ossp" does not exist
Command was: COMMENT ON EXTENSION "uuid-ossp" IS 'generate universally unique identifiers (UUIDs)';
Thanks for your help.
Regards
В списке pgsql-admin по дате отправления: