diff --git a/Makefile b/Makefile index 92b9791..d72f7cc 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # cartodb/Makefile EXTENSION = cartodb -EXTVERSION = 0.22.1 +EXTVERSION = 0.22.2 SED = sed AWK = awk @@ -87,6 +87,7 @@ UPGRADABLE = \ 0.21.0 \ 0.22.0 \ 0.22.1 \ + 0.22.2 \ $(EXTVERSION)dev \ $(EXTVERSION)next \ $(END) diff --git a/NEWS.md b/NEWS.md index db07eb5..989ee51 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,6 @@ +0.22.2 (2018-05-29) +* Fix: Fix hyphenates usernames in 0.22.1 fix (#331) + 0.22.1 (2018-05-29) * Fix: Correctly grant permission to all sequences related with table (#330) diff --git a/scripts-available/CDB_Organizations.sql b/scripts-available/CDB_Organizations.sql index 35f838a..8c2e47b 100644 --- a/scripts-available/CDB_Organizations.sql +++ b/scripts-available/CDB_Organizations.sql @@ -110,7 +110,7 @@ FUNCTION cartodb._CDB_Organization_Get_Table_Sequences(from_schema text, table_n AS $$ BEGIN RETURN QUERY EXECUTE 'SELECT - n.nspname || ''.'' || c.relname + quote_ident(n.nspname) || ''.'' || quote_ident(c.relname) FROM pg_depend d JOIN pg_class c ON d.objid = c.oid