Re: role to access all information_schema.*?
От | Tom Lane |
---|---|
Тема | Re: role to access all information_schema.*? |
Дата | |
Msg-id | 2538615.1759871655@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: role to access all information_schema.*? (Ruben Laguna <ruben.laguna@gmail.com>) |
Список | pgsql-admin |
Ruben Laguna <ruben.laguna@gmail.com> writes: > Do you know what the standard says exactly, does it outright bans using any > special means like having (pg_metadata_viewr or pg_read_information_schema, > etc). as "access privilege"? Do you think it's hopeless to propose this in > pgsql-hackers? You can propose all you want, but I doubt there will be a lot of interest in it. In the first place, the pg_read_all_data role already exists and gets the job done without any arguable violation of the standard. In the second place, we really don't take that much interest in the information_schema. It's there for pro-forma spec compliance, but it performs very poorly (not least because it has to check the spec-mandated privilege restrictions). Moreover there are significant aspects of Postgres that simply aren't represented in the information_schema because they're outside the standard. So the advice you'll generally get is what Laurenz already said, namely look directly at the PG catalogs. That being the case, and since there's a pretty decent argument that such a role would violate the SQL spec, I doubt it'll happen. regards, tom lane
В списке pgsql-admin по дате отправления: