postgresql/src/backend/access
Peter Eisentraut 15b1918e7d 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
2012-06-15 22:55:03 +03:00
..
common Improve reporting of permission errors for array types 2012-06-15 22:55:03 +03:00
gin Add new function log_newpage_buffer. 2012-06-14 10:11:16 -04:00
gist Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
hash Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
heap Add new function log_newpage_buffer. 2012-06-14 10:11:16 -04:00
index Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
nbtree Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
spgist Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
transam Improve readability and error messages in pg_backup_start_time. 2012-06-14 15:20:08 -04:00
Makefile Add SP-GiST (space-partitioned GiST) index access method. 2011-12-17 16:42:30 -05:00