Skip to content

Commit

Permalink
Use pg_roles view instead of pg_authid table (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
baipi authored Sep 24, 2020
1 parent b1ee54c commit 86e8933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/refresh-views
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ WITH objects AS (
JOIN pg_rewrite r ON r.oid=d.objid
JOIN pg_class c2 ON c2.oid=r.ev_class AND c2.oid != c.oid
JOIN pg_namespace n2 ON c2.relnamespace=n2.oid
JOIN pg_authid au ON au.oid=c2.relowner
JOIN pg_roles au ON au.oid=c2.relowner
WHERE c.relkind IN ('r','m','v','t','f')
)
(
Expand Down

0 comments on commit 86e8933

Please sign in to comment.