Skip to content

Commit

Permalink
Make PG initialization scripts work with PostgreSQL 9.1
Browse files Browse the repository at this point in the history
 - Remove lock_timeout setting
   See https://travis-ci.org/qgis/QGIS/jobs/109844438#L942

 - Remove CREATE SCHEMA IF NOT EXISTS
   See https://travis-ci.org/qgis/QGIS/jobs/109891682#L1016
  • Loading branch information
Sandro Santilli committed Feb 17, 2016
1 parent 3e550e2 commit 034b5c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/testdata/provider/testdata_pg.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
-- Started on 2015-05-21 09:37:33 CEST

SET statement_timeout = 0;
SET lock_timeout = 0;
-- SET lock_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
Expand Down
2 changes: 1 addition & 1 deletion tests/testdata/provider/testdata_pg_vectorjoin.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

CREATE SCHEMA IF NOT EXISTS qgis_test;
--CREATE SCHEMA IF NOT EXISTS qgis_test;


DROP TABLE IF EXISTS qgis_test.table_a;
Expand Down

0 comments on commit 034b5c0

Please sign in to comment.