From ce1e6db7751aa97e0f23a2ce8440720cd7b09a8c Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Fri, 10 Feb 2012 08:39:54 -0500 Subject: [PATCH] Move the alter database after the create schema --- bucardo.schema | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucardo.schema b/bucardo.schema index 6b85f0e40..893ed804f 100644 --- a/bucardo.schema +++ b/bucardo.schema @@ -14,7 +14,6 @@ SET client_min_messages = 'FATAL'; CREATE USER bucardo SUPERUSER; CREATE DATABASE bucardo OWNER bucardo; -ALTER DATABASE bucardo SET search_path = bucardo, public; \c bucardo bucardo @@ -23,6 +22,7 @@ SET client_min_messages = 'FATAL'; CREATE LANGUAGE plpgsql; CREATE LANGUAGE plperlu; CREATE SCHEMA bucardo; +ALTER DATABASE bucardo SET search_path = bucardo, public; -- The above were allowed to fail, because there is no harm if the objects -- already existed. From this point forward however, we suffer no errors -- 2.39.5