git.postgresql.org Git - postgresql.git/commit
2012年6月15日 19:55:03 +0000 (22:55 +0300)
2012年6月15日 19:55:03 +0000 (22:55 +0300)
commit 15b1918e7d3532f0e4ec3455ae6ce45fae09c86f
Improve reporting of permission errors for array types
Because permissions are assigned to element types, not array types,
complaining about permission denied on an array type would be
misleading to users. So adjust the reporting to refer to the element
type instead.
In order not to duplicate the required logic in two dozen places,
refactor the permission denied reporting for types a bit.
pointed out by Yeb Havinga during the review of the type privilege
feature
This is the main PostgreSQL git repository.
RSS
Atom