diff --git a/R/postgres.R b/R/postgres.R index 31cbab291f..4f36caa83e 100644 --- a/R/postgres.R +++ b/R/postgres.R @@ -44,4 +44,5 @@ postgres_column_constraints <- "SELECT current_database()::information_schema.sq WHEN 'f'::\"char\" THEN c.confkey ELSE c.conkey END)) AND NOT a.attisdropped AND (c.contype = ANY (ARRAY['f'::\"char\"])) AND (r.relkind = ANY (ARRAY['r'::\"char\", 'p'::\"char\"]))) x(tblschema, tblname, tblowner, colname, colnum, cstrschema, cstrname) - WHERE pg_has_role(x.tblowner, 'USAGE'::text)" + WHERE pg_has_role(x.tblowner, 'USAGE'::text) +"