|
Pessoal, novamente peço a ajuda de vocês. Estou
começando a ficar desesperado. 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?? DETALHE: A base origem era 7.4 dbExperts
em um Windows 2000 e estou querendo migrar para 7.4 dbExperts no Slackware 10.2. Alan Roberto Ferné Administrador de Banco de Dados Tel.: 4176-8845 E-mail: [EMAIL PROTECTED] |
_______________________________________________ Grupo de Usuários do PostgreSQL no Brasil http://www.postgresql.org.br
