Add missing qualifications

This commit is contained in:
Raul Marin 2019-06-03 15:22:52 +02:00
parent 787b513715
commit a43abb37e0
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ AS $$
FROM FROM
@extschema@._CDB_UserTablesInSchema(), unnest(tables) base_table @extschema@._CDB_UserTablesInSchema(), unnest(tables) base_table
WHERE WHERE
schema_name = _cdb_schema_name(base_table) schema_name = @extschema@._cdb_schema_name(base_table)
AND @extschema@._CDB_IsOverviewTableOf((SELECT relname FROM pg_class WHERE oid=base_table), table_name) AND @extschema@._CDB_IsOverviewTableOf((SELECT relname FROM pg_class WHERE oid=base_table), table_name)
ORDER BY base_table, z; ORDER BY base_table, z;
$$ LANGUAGE SQL STABLE PARALLEL SAFE; $$ LANGUAGE SQL STABLE PARALLEL SAFE;

View File

@ -124,7 +124,7 @@ DROP TRIGGER IF EXISTS table_modified ON @extschema@.CDB_TableMetadata;
-- oid (regclass) to its name -- oid (regclass) to its name
CREATE TRIGGER table_modified AFTER INSERT OR UPDATE CREATE TRIGGER table_modified AFTER INSERT OR UPDATE
ON @extschema@.CDB_TableMetadata FOR EACH ROW EXECUTE PROCEDURE ON @extschema@.CDB_TableMetadata FOR EACH ROW EXECUTE PROCEDURE
_CDB_TableMetadata_Updated(); @extschema@._CDB_TableMetadata_Updated();
-- similar to TOUCH(1) in unix filesystems but for table in cdb_tablemetadata -- similar to TOUCH(1) in unix filesystems but for table in cdb_tablemetadata