Speaking of getting hashed user passwords…
How about creating a second database role for the Data Explorer?
grant select on #{database} to discourse_data_explorer;
revoke select password_hash, auth_token on users from discourse_data_explorer;
# repeat for other sensitive columns
#in data explorer execute:
Begin;
Set read only blah blah;
Set local role discourse_data_explorer;
(Note that this doesn’t actually work, revokes undo grants and can’t carve out of them)