"Jean-Yves NOLEN" <jynolen@xxxxxxxxx> writes: > [ while restoring a pg_dump backup ] > pg_restore: [archiver (db)] Error while PROCESSING TOC: > pg_restore: [archiver (db)] Error from TOC entry 626; 2612 16386 PROCEDURAL > LANGUAGE plpgsql postgres > pg_restore: [archiver (db)] could not execute query: ERREUR: language > "plpgsql" already exists Probably the reason you get this is that you have plpgsql installed in template1, and so it's already there in your destination database. You can avoid that by cloning the new database from template0 (add "TEMPLATE template0" to your CREATE DATABASE command). regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin