Postgres UUID group issue (#37999)

* Add UUID to types that can be grouped by

* Remove noop switch
This commit is contained in:
Oscar Kilhed 2021-08-18 16:17:30 +02:00 committed by GitHub
parent 861fe60d01
commit 21f45d4927
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 7 deletions

View File

@ -132,7 +132,7 @@ table_schema IN (
break;
}
case 'group': {
query += " AND data_type IN ('text','character','character varying')";
query += " AND data_type IN ('text','character','character varying','uuid')";
break;
}
}

View File

@ -661,12 +661,7 @@ export class PostgresQueryCtrl extends QueryCtrl {
}
addGroupAction() {
switch (this.groupAdd.value) {
default: {
this.addGroup(this.groupAdd.type, this.groupAdd.value);
}
}
this.addGroup(this.groupAdd.type, this.groupAdd.value);
this.resetPlusButton(this.groupAdd);
this.updateRawSqlAndRefresh();
}