From 9791a5badabbc3dbf292115bb2367f76eb2d3348 Mon Sep 17 00:00:00 2001 From: Rafa de la Torre Date: Thu, 29 Dec 2016 12:10:56 +0100 Subject: [PATCH] Add cartodb to the search path See https://github.com/CartoDB/dataservices-api/issues/324#issuecomment-269614566 --- client/cdb_dataservices_client--0.14.0--0.14.1.sql | 2 +- client/cdb_dataservices_client--0.14.1--0.14.0.sql | 2 +- client/cdb_dataservices_client--0.14.1.sql | 2 +- client/sql/00_header.sql | 2 +- client/upgrade_downgrade_template.erb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/cdb_dataservices_client--0.14.0--0.14.1.sql b/client/cdb_dataservices_client--0.14.0--0.14.1.sql index be48cbb..797e34c 100644 --- a/client/cdb_dataservices_client--0.14.0--0.14.1.sql +++ b/client/cdb_dataservices_client--0.14.0--0.14.1.sql @@ -3,7 +3,7 @@ \echo Use "ALTER EXTENSION cdb_dataservices_client UPDATE TO '0.14.1'" to load this file. \quit -- Make sure we have a sane search path to create/update the extension -SET search_path = "$user",public,cdb_dataservices_client; +SET search_path = "$user",cartodb,public,cdb_dataservices_client; -- This release introduces no changes other than the use of -- search path in the install and migration scripts diff --git a/client/cdb_dataservices_client--0.14.1--0.14.0.sql b/client/cdb_dataservices_client--0.14.1--0.14.0.sql index 2c12569..e89a860 100644 --- a/client/cdb_dataservices_client--0.14.1--0.14.0.sql +++ b/client/cdb_dataservices_client--0.14.1--0.14.0.sql @@ -3,7 +3,7 @@ \echo Use "ALTER EXTENSION cdb_dataservices_client UPDATE TO '0.14.0'" to load this file. \quit -- Make sure we have a sane search path to create/update the extension -SET search_path = "$user",public,cdb_dataservices_client; +SET search_path = "$user",cartodb,public,cdb_dataservices_client; -- This release introduces no changes other than the use of -- search path in the install and migration scripts diff --git a/client/cdb_dataservices_client--0.14.1.sql b/client/cdb_dataservices_client--0.14.1.sql index 9ee9b08..df980e3 100644 --- a/client/cdb_dataservices_client--0.14.1.sql +++ b/client/cdb_dataservices_client--0.14.1.sql @@ -3,7 +3,7 @@ \echo Use "CREATE EXTENSION cdb_dataservices_client" to load this file. \quit -- Make sure we have a sane search path to create/update the extension -SET search_path = "$user",public,cdb_dataservices_client; +SET search_path = "$user",cartodb,public,cdb_dataservices_client; -- -- Geocoder server connection config -- diff --git a/client/sql/00_header.sql b/client/sql/00_header.sql index b41a51c..ee241f9 100644 --- a/client/sql/00_header.sql +++ b/client/sql/00_header.sql @@ -3,4 +3,4 @@ \echo Use "CREATE EXTENSION cdb_dataservices_client" to load this file. \quit -- Make sure we have a sane search path to create/update the extension -SET search_path = "$user",public,cdb_dataservices_client; +SET search_path = "$user",cartodb,public,cdb_dataservices_client; diff --git a/client/upgrade_downgrade_template.erb b/client/upgrade_downgrade_template.erb index 31be973..745f00c 100644 --- a/client/upgrade_downgrade_template.erb +++ b/client/upgrade_downgrade_template.erb @@ -3,6 +3,6 @@ \echo Use "ALTER EXTENSION cdb_dataservices_client UPDATE TO '<%= version %>'" to load this file. \quit -- Make sure we have a sane search path to create/update the extension -SET search_path = "$user",public,cdb_dataservices_client; +SET search_path = "$user",cartodb,public,cdb_dataservices_client; -- HERE goes your code to upgrade/downgrade