Merge pull request #320 from bloomberg/v0_18_5/cdb_tablemetadata_text_hotfix

Fix incorrect timestamps in CDB_TableMetadata_Text
This commit is contained in:
Eneko Lakasta
2018-07-23 16:00:19 +02:00
committed by GitHub
2 changed files with 37 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ CREATE TABLE IF NOT EXISTS
CREATE OR REPLACE VIEW public.CDB_TableMetadata_Text AS
SELECT FORMAT('%I.%I', n.nspname::text, c.relname::text) tabname, updated_at
FROM public.CDB_TableMetadata, pg_catalog.pg_class c
FROM public.CDB_TableMetadata m JOIN pg_catalog.pg_class c ON m.tabname::oid = c.oid
LEFT JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid;
-- No one can see this