Merge pull request #331 from CartoDB/fix_0_22_1_hyphens

Fix 0 22 1 hyphens
This commit is contained in:
Javier Torres
2018-05-31 17:36:09 +02:00
committed by GitHub
3 changed files with 6 additions and 2 deletions

View File

@@ -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)

View File

@@ -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)

View File

@@ -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