-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use pg_roles instead of pg_authid #1
Conversation
The view pg_roles provides access to information about database roles. This is simply a publicly readable view of pg_authid that blanks out the password field. (http://www.postgresql.org/docs/9.4/static/view-pg-roles.html)
The view pg_roles provides access to information about database roles. This is simply a publicly readable view of pg_authid that blanks out the password field. (http://www.postgresql.org/docs/9.4/static/view-pg-roles.html)
The view pg_roles provides access to information about database roles. This is simply a publicly readable view of pg_authid that blanks out the password field. (http://www.postgresql.org/docs/9.4/static/view-pg-roles.html)
Hi Sverre, thanks for your contribution. I can see the value in your proposed change but unfortunately this would break compatibility with PostgreSQL v8.1 - 8.4 which does not support Can you think of a way we could default to |
I don't have a running 8.1 - 8.4 database to check, so I only checked in the postgres docs before making the change. But according to http://www.postgresql.org/docs/8.1/static/view-pg-roles.html pg_roles should also be supported for v8. |
Yes, you're correct. I misread the context of 'unsupported versions' in the documentation. Thanks again. |
I like the new commits you've added (since e3f2fb7), but can please raise future patches as separate pull requests? |
use pg_roles instead of pg_authid
Many thanks sboschman, grateful for your contribution. |
The view pg_roles provides access to information about database roles. This is simply a publicly readable view of pg_authid that blanks out the password field. (http://www.postgresql.org/docs/9.4/static/view-pg-roles.html)