Change regular expression for consistency

This commit is contained in:
Javier Goizueta 2016-01-11 15:27:05 +01:00
parent 6ea63af974
commit fd7a8cff71

View File

@ -11,7 +11,7 @@ AS $$
substring(cdb_usertables from '\d+$')::integer as z,
cdb_usertables::regclass as overview_table
FROM CDB_UserTables()
WHERE cdb_usertables SIMILAR TO reloid::text || '_ov[0-9]+'
WHERE cdb_usertables SIMILAR TO reloid::text || '_ov[\d]+'
ORDER BY z;
$$ LANGUAGE SQL;