|
Poxa, será que ninguém pode me ajudar??? É
meio urgente.... De:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Em nome de Alan Roberto Ferne Pessoal Estou tendo inúmeros problemas para
restaurar uma base com blobs através do pg_restore. Primeiro, o pg_restore indicou que alguns
módulos do contrib não estavam instalados (dblink, dbsize, earthdistance e
cube). Pois bem, instalei estes módulos e quando vou emitir o comando: pg_restore –d tgs /home/corp.tar ele
chia dizendo que a tal função cube não existe, conforme mensagens abaixo: NOTICE: type
"cube" is not yet defined DETAIL: Creating a
shell type definition. pg_restore: NOTICE:
type "cube" is not yet defined DETAIL: Creating a
shell type definition. NOTICE: argument
type cube is only a shell pg_restore: NOTICE:
argument type cube is only a shell ERROR: function
cube(text) does not exist pg_restore: [archiver
(db)] could not execute query: ERROR: function cube(text) does not exist Pois bem, verificando no diretório /share/contrib.,
existe um arquivo SQL chamado cube onde tem várias definições sobre o cube,
inclusive da tal função. Ai, eu crio o banco de dados e em seguida,
rodo este arquivo. Finalizado este processo, vou emitir o pg_restore com os
mesmos argumentos acima. Ai ele reclama que a função cube já existe... NOTICE: type
"cube" is not yet defined DETAIL: Creating a
shell type definition. pg_restore: NOTICE:
type "cube" is not yet defined DETAIL: Creating a
shell type definition. NOTICE: argument
type cube is only a shell pg_restore: NOTICE:
argument type cube is only a shell ERROR: function
cube(text) already exists pg_restore: [archiver
(db)] could not execute query: ERROR: function cube(text) already exists Estou literalmente em um mato sem
cachorro, por isso, peço encarecidamente a ajuda de vocês para resolver este
problema. Será que estou fazendo algo errado?? |
_______________________________________________ Grupo de Usuários do PostgreSQL no Brasil http://www.postgresql.org.br
_______________________________________________ Grupo de Usuários do PostgreSQL no Brasil http://www.postgresql.org.br
