File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 22-- - normal: `psql postgresql://postgres:postgres@localhost:5432/cloudsync_test -f docker/postgresql/smoke_test.sql`
33-- - debug: `psql -v DEBUG=1 postgresql://postgres:postgres@localhost:5432/cloudsync_test -f docker/postgresql/smoke_test.sql`
44
5+ DROP DATABASE IF EXISTS cloudsync_test_1;
6+ CREATE DATABASE cloudsync_test_1 ;
7+ \connect cloudsync_test_1
8+
59\set ON_ERROR_STOP on
610\set fail 0
711\if :{?DEBUG}
@@ -18,8 +22,8 @@ SET client_min_messages = warning; SET log_min_messages = warning;
1822\endif
1923
2024-- Reset extension and install
21- DROP EXTENSION IF EXISTS cloudsync CASCADE;
22- CREATE EXTENSION cloudsync;
25+ -- DROP EXTENSION IF EXISTS cloudsync CASCADE;
26+ CREATE EXTENSION IF NOT EXISTS cloudsync;
2327
2428-- 'Test version visibility'
2529SELECT cloudsync_version() AS version \gset
@@ -306,7 +310,7 @@ SET client_min_messages = warning; SET log_min_messages = warning;
306310\pset tuples_only on
307311\pset format unaligned
308312\endif
309- CREATE EXTENSION cloudsync;
313+ CREATE EXTENSION IF NOT EXISTS cloudsync;
310314DROP TABLE IF EXISTS smoke_tbl;
311315CREATE TABLE smoke_tbl (id TEXT PRIMARY KEY , val TEXT );
312316SELECT cloudsync_init(' smoke_tbl' , ' CLS' , true) AS _init_site_id_b \gset
You can’t perform that action at this time.
0 commit comments