crunchy_check_access icon indicating copy to clipboard operation
crunchy_check_access copied to clipboard

Replace uses of pg_authid with pg_roles so that crunchy_check_access ca…

Open roberto-mello opened this issue 4 years ago • 3 comments

Replace uses of pg_authid with pg_roles so it can be used in Postgres instances where privileged catalog tables are restricted, such as public cloud providers (AWS)

roberto-mello avatar Oct 07 '20 14:10 roberto-mello

What versions of Postgres will this change support (how far back)?

cbrianpace avatar Feb 13 '24 15:02 cbrianpace

@cbrianpace, replacing pg_authid with pg_roles and the columns they access goes back to at least PG 9.5.

MichaelDBA avatar Feb 29 '24 13:02 MichaelDBA

Had forgotten about this commit of mine from 3+ years ago... still open :-(

roberto-mello avatar Mar 01 '24 18:03 roberto-mello

Apologies for delays in reviewing this. Don't have a restricted system to test this in, but it's working fine in standard PG. Will pull this in and get a release done so you can test in the relevant environment

keithf4 avatar May 16 '24 16:05 keithf4