From 0ba57f436ad0b46122ddb5a080fdbefad99b68d6 Mon Sep 17 00:00:00 2001 From: Rafa de la Torre Date: Mon, 31 Aug 2015 12:01:01 +0200 Subject: [PATCH 1/2] Do not remove old function #120 The `DROP FUNCTION IF EXISTS` was added as transient code and not needed anymore. See the ticket #120 for more information on this. --- scripts-available/CDB_UserTables.sql | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts-available/CDB_UserTables.sql b/scripts-available/CDB_UserTables.sql index bfa5165..7d65965 100644 --- a/scripts-available/CDB_UserTables.sql +++ b/scripts-available/CDB_UserTables.sql @@ -5,7 +5,6 @@ -- -- Currently accepted permissions are: 'public', 'private' or 'all' -- -DROP FUNCTION IF EXISTS cdb_usertables(text); CREATE OR REPLACE FUNCTION CDB_UserTables(perm text DEFAULT 'all') RETURNS SETOF name AS $$ From 2269dc0cb5de1e7f4024f1dc8119715957e8f829 Mon Sep 17 00:00:00 2001 From: Rafa de la Torre Date: Mon, 31 Aug 2015 12:56:12 +0200 Subject: [PATCH 2/2] Add explanation in NEWS file #120 as suggested in PR. --- NEWS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NEWS.md b/NEWS.md index 5406364..332c72b 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +next (2015-??-??) +----------------- +* Removed `DROP FUNCTION IF EXISTS cdb_usertables(text);` [#129](https://github.com/CartoDB/cartodb-postgresql/pull/129). This was needed for upgrading between 0.7.4 to 0.8.0 but is no longer needed. + 0.9.4 (2015-08-28) ------------------ * Fixed issue with indices when renaming tables [#123](https://github.com/CartoDB/cartodb-postgresql/issues/123)