Hi everyone ! I am facing a problem after a lot of research has not found a solution. First of all I want to:
So far not rocket science. Then what I do: A creation of new base like this : CREATE DATABASE "testingBackup" WITH OWNER = postgres ENCODING = 'UTF8' TABLESPACE = pg_default LC_COLLATE = 'French_France.1252' LC_CTYPE = 'French_France.1252' CONNECTION LIMIT = -1; And finally : pg_restore -F c -h ##### -p #### -U #### -d testingBackup C:\dump.bak What problems i got pg_restore: [archiver (db)] Error while PROCESSING TOC: pg_restore: [archiver (db)] Error from TOC entry 626; 2612 16386 PROCEDURAL LANG UAGE plpgsql postgres pg_restore: [archiver (db)] could not execute query: ERREUR: language "plpgsql" already exists Command was: CREATE PROCEDURAL LANGUAGE plpgsql; WARNING: errors ignored on restore: 1 In fact there is no problem since all data is restored but in a goal of "cleanliness" I want to clean this mess and finally get no error. Jean-Yves |