Hi,<br><br>I have a serious problem in restoring a postgis enabled database from one server to another and I don't know what the problem could be.<br><br>When trying to restore I got this lines (only the starting ones here) from pgadmin interface. Any suggestion?<br>
<br>best regards<br>raffaele<br><br>/usr/bin/pg_restore --host 127.0.0.1 --port 5432 --username rmorelli --dbname cen_rf --verbose "/home/rmorelli/Documents/backup/cen/cen_rf.backup"<br>pg_restore: connessione al database per ripristino<br>
pg_restore: creazione di SCHEMA public<br>pg_restore: creazione di COMMENT SCHEMA public<br>pg_restore: creazione di PROCEDURAL LANGUAGE plpgsql<br>pg_restore: [archiviatore (db)] Errore durante PROCESSING TOC:<br>pg_restore: [archiviatore (db)] Errore nalla voce TOC 1265; 2612 49195 PROCEDURAL LANGUAGE plpgsql postgres<br>
pg_restore: [archiviatore (db)] could not execute query: ERROR:  language "plpgsql" already exists<br>    Command was: <br>CREATE PROCEDURAL LANGUAGE plpgsql;<br>pg_restore: creazione di SHELL TYPE box2d<br>pg_restore: [archiviatore (db)] Errore nalla voce TOC 1151; 0 0 SHELL TYPE box2d postgres<br>
pg_restore: [archiviatore (db)] could not execute query: ERROR:  type "box2d" already exists<br>    Command was: CREATE TYPE box2d;<br>pg_restore: creazione di FUNCTION box2d_in(cstring)<br>pg_restore: [archiviatore (db)] Errore nalla voce TOC 84; 1255 49272 FUNCTION box2d_in(cstring) postgres<br>
pg_restore: [archiviatore (db)] could not execute query: ERROR:  function "box2d_in" already exists with same argument types<br>    Command was: CREATE FUNCTION box2d_in(cstring) RETURNS box2d<br>    LANGUAGE c IMMUTABLE STRICT<br>
    AS '$libdir/postgis-1.5', 'BOX2DFLOAT4_in';<br>pg_restore: creazione di FUNCTION box2d_out(box2d)<br>pg_restore: [archiviatore (db)] Errore nalla voce TOC 85; 1255 49273 FUNCTION box2d_out(box2d) postgres<br>
pg_restore: [archiviatore (db)] could not execute query: ERROR:  function "box2d_out" already exists with same argument types<br>    Command was: CREATE FUNCTION box2d_out(box2d) RETURNS cstring<br>    LANGUAGE c IMMUTABLE STRICT<br>
    AS '$libdir/postgis-1.5', 'BOX2DFLOAT4_...<br clear="all"><br>-- <br><i><span></span><span>L'unica speranza di catarsi, ammesso che ne esista una,
resta affidata all'istinto di ribellione, alla rivolta non isterilita
in progetti, alla protesta violenta e viscerale.</span></i><br>