diff --git a/html/admin/sql/account_repository/make-sql b/html/admin/sql/account_repository/make-sql
index eeea6ef79..ef1d6eb2a 100755
--- a/html/admin/sql/account_repository/make-sql
+++ b/html/admin/sql/account_repository/make-sql
@@ -1,4 +1,4 @@
-pg_dump -O -U phpcompta -s account_repository | awk '!/--/ {if ( ! /^$/) print $0;}' > schema.sql
+pg_dump -O -U phpcompta -s account_repository | awk '!/--/ {if ( ! /^$/) print $0;}'|grep -v "COMMENT ON SCHEMA public IS 'Standard public schema';" > schema.sql
awk '/SEQUENCE/,/;/ { print $0;}' < schema.sql > sequence.sql
awk '/CREATE DOMAIN/,/;/ { print $0;}' < schema.sql > table.sql
awk '/CREATE TABLE/,/;/ { print $0;}' < schema.sql >> table.sql
diff --git a/html/admin/sql/account_repository/schema.sql b/html/admin/sql/account_repository/schema.sql
index 33fe0ef5c..14f309fa3 100644
--- a/html/admin/sql/account_repository/schema.sql
+++ b/html/admin/sql/account_repository/schema.sql
@@ -1,7 +1,7 @@
SET client_encoding = 'LATIN1';
SET check_function_bodies = false;
SET client_min_messages = warning;
-COMMENT ON SCHEMA public IS 'Standard public schema';
+
SET search_path = public, pg_catalog;
SET default_tablespace = '';
SET default_with_oids = false;
diff --git a/html/admin/sql/dossier1/make-sql b/html/admin/sql/dossier1/make-sql
index 045ac351a..30d1687cf 100755
--- a/html/admin/sql/dossier1/make-sql
+++ b/html/admin/sql/dossier1/make-sql
@@ -1,4 +1,4 @@
-pg_dump -O -U phpcompta -s dossier1 | awk '!/--/ {if ( ! /^$/) print $0;}' > schema.sql
+pg_dump -O -U phpcompta -s dossier1 | awk '!/--/ {if ( ! /^$/) print $0;}'|grep -v "COMMENT ON SCHEMA public IS 'Standard public schema';" > schema.sql
awk '/SEQUENCE/,/;/ { print $0;}' < schema.sql > sequence.sql
awk '/CREATE DOMAIN/,/;/ { print $0;}' < schema.sql > table.sql
awk '/CREATE TABLE/,/;/ { print $0;}' < schema.sql >> table.sql
diff --git a/html/admin/sql/dossier1/schema.sql b/html/admin/sql/dossier1/schema.sql
index 1f63b07aa..315233f47 100644
--- a/html/admin/sql/dossier1/schema.sql
+++ b/html/admin/sql/dossier1/schema.sql
@@ -1,7 +1,7 @@
SET client_encoding = 'LATIN1';
SET check_function_bodies = false;
SET client_min_messages = warning;
-COMMENT ON SCHEMA public IS 'Standard public schema';
+
SET search_path = public, pg_catalog;
CREATE DOMAIN poste_comptable AS numeric(25,0);
CREATE FUNCTION account_add(p_id poste_comptable, p_name character varying) RETURNS void
diff --git a/html/admin/sql/mod1/make-sql b/html/admin/sql/mod1/make-sql
index 66a5e3650..195366ef8 100755
--- a/html/admin/sql/mod1/make-sql
+++ b/html/admin/sql/mod1/make-sql
@@ -1,4 +1,4 @@
-pg_dump -O -U phpcompta -s mod1 > schema.sql
+pg_dump -O -U phpcompta -s mod1|grep -v "COMMENT ON SCHEMA public IS 'Standard public schema';" > schema.sql
awk '/SEQUENCE/,/;/ { print $0;}' < schema.sql > sequence.sql
awk '/CREATE DOMAIN/,/;/ { print $0;}' < schema.sql > table.sql
awk '/CREATE TABLE/,/;/ { print $0;}' < schema.sql >> table.sql
diff --git a/html/admin/sql/mod1/schema.sql b/html/admin/sql/mod1/schema.sql
index 27f5a8511..a03f9e52a 100644
--- a/html/admin/sql/mod1/schema.sql
+++ b/html/admin/sql/mod1/schema.sql
@@ -10,7 +10,6 @@ SET client_min_messages = warning;
-- Name: SCHEMA public; Type: COMMENT; Schema: -; Owner: postgres
--
-COMMENT ON SCHEMA public IS 'Standard public schema';
--
diff --git a/html/admin/sql/mod2/make-sql b/html/admin/sql/mod2/make-sql
index 35b4ca11e..e7098df05 100755
--- a/html/admin/sql/mod2/make-sql
+++ b/html/admin/sql/mod2/make-sql
@@ -1,4 +1,5 @@
-pg_dump -O -U phpcompta -s mod2 | awk '!/--/ {if ( ! /^$/) print $0;}' > schema.sql
+pg_dump -O -U phpcompta -s mod2 | awk '!/--/ {if ( ! /^$/) print
+$0;}'|grep -v "COMMENT ON SCHEMA public IS 'Standard public schema';" > schema.sql
awk '/SEQUENCE/,/;/ { print $0;}' < schema.sql > sequence.sql
awk '/CREATE DOMAIN/,/;/ { print $0;}' < schema.sql > table.sql
awk '/CREATE TABLE/,/;/ { print $0;}' < schema.sql >> table.sql
diff --git a/html/admin/sql/mod2/schema.sql b/html/admin/sql/mod2/schema.sql
index 5f1fd2206..e8671980a 100644
--- a/html/admin/sql/mod2/schema.sql
+++ b/html/admin/sql/mod2/schema.sql
@@ -1,7 +1,7 @@
SET client_encoding = 'LATIN1';
SET check_function_bodies = false;
SET client_min_messages = warning;
-COMMENT ON SCHEMA public IS 'Standard public schema';
+
SET search_path = public, pg_catalog;
CREATE DOMAIN poste_comptable AS numeric(25,0);
CREATE FUNCTION account_add(p_id poste_comptable, p_name character varying) RETURNS void