Desculpe mais uma vez, nem olhei a fundo a documentacao. dei uma lida e vi o procedimento de atualização, porém agora acontece o seguinte, eu consigo migrar tudo certinho, as tabelas são criadas corretamente, porém o script envia algumas mensagens de erro:
could not access file "$libdir/liblwgeom.dll": No such file or directory Porém estou em um linux, no mínimo deveria dar o erro do ".so", estou migrando de um windows para um linux, será que no banco antigo há algum "resquício" dessa dll? ls -l /usr/lib/postgresql/8.1/lib/liblwgeom.so lrwxrwxrwx 1 root root 16 2008-08-15 08:51 /usr/lib/postgresql/8.1/lib/liblwgeom.so -> liblwgeom.so.1.1 está ai o modulo. entao fiz o seguinte, exportei a variavel "libdir" e criei um link do .dll para o .so: ln -s liblwgeom.so.1.1 liblwgeom.dll executei e agora os erros nao ocorreram, porém vieram os avisos/erros: createlang: language "plpgsql" is already installed in database "web" NOTICE: type "histogram2d" is not yet defined DETAIL: Creating a shell type definition. NOTICE: argument type histogram2d is only a shell NOTICE: type "spheroid" is not yet defined DETAIL: Creating a shell type definition. NOTICE: argument type spheroid is only a shell NOTICE: type "geometry" is not yet defined DETAIL: Creating a shell type definition. NOTICE: argument type geometry is only a shell NOTICE: return type geometry is only a shell NOTICE: argument type geometry is only a shell NOTICE: type "box3d" is not yet defined DETAIL: Creating a shell type definition. NOTICE: argument type box3d is only a shell NOTICE: type "chip" is not yet defined DETAIL: Creating a shell type definition. NOTICE: argument type chip is only a shell NOTICE: type "box2d" is not yet defined DETAIL: Creating a shell type definition. NOTICE: argument type box2d is only a shell NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "spatial_ref_sys_pkey" for table "spatial_ref_sys" NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "geometry_columns_pk" for table "geometry_columns" ERROR: language "plpgsql" already exists ERROR: function "lockrow" already exists with same argument types ERROR: function "lockrow" already exists with same argument types Isso é aceitável? Valeu essa bela gambia? Obrigado, Lucas. 2008/8/15 Luigi Castro Cardeles <[EMAIL PROTECTED]> > Olá, > > no site do PostGIS tem o passo a passo de como vc instala o módulo. > No seu caso que quer restaurar um banco, vc já leu a documentação? Existe > um script em perl que faz isso pra vc, ele vem junto com a instalação. > postigs_restore.pl > > []'s > > > 2008/8/15 Roberto Mello <[EMAIL PROTECTED]> > > 2008/8/15 Lucas Mocellin <[EMAIL PROTECTED]>: >> > >> > Não foi o que aconteceu, instalei a extensao e continua dando erro: >> > >> > ERROR: type "geometry" does not exist >> > ERROR: operator class "btree_geometry_ops" does not exist for access >> method >> > "btree" >> >> De uma olhada nas instrucoes da extensao. Ela deve vir com um README >> ou INSTALL. Talvez voce tenha que carregar algum arquivo .sql que >> acompanha a distribuicao da extensao, para que novos tipos e funcoes >> sejam criados. >> >> Talvez isso tenha que ser feito no banco template1, para que esses >> novos objetos sejam criados em todos os bancos subsequentes, o que >> incluiria o banco que voce esta' restaurando. >> >> Roberto >> -- >> http://blog.divisiblebyfour.org/ >> _______________________________________________ >> pgbr-geral mailing list >> [email protected] >> https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral >> > > > > -- > Luigi Castro Cardeles > > _______________________________________________ > pgbr-geral mailing list > [email protected] > https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral > >
_______________________________________________ pgbr-geral mailing list [email protected] https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
