summaryrefslogtreecommitdiff
path: root/contrib/dbase/dbf2pg.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/dbase/dbf2pg.c')
-rw-r--r--contrib/dbase/dbf2pg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/dbase/dbf2pg.c b/contrib/dbase/dbf2pg.c
index e179226cbe..f8e6bafcd1 100644
--- a/contrib/dbase/dbf2pg.c
+++ b/contrib/dbase/dbf2pg.c
@@ -858,6 +858,10 @@ main(int argc, char **argv)
exit(1);
}
+ PQexec(conn, "SET search_path = public");
+
+ PQexec(conn, "SET autocommit TO 'on'");
+
/* Substitute field names */
do_substitute(subarg, dbh);