Re: patch for type privileges
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Yeb Havinga <yebhavinga@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2012-05-20T09:14:57Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Support range data types.
- 4429f6a9e3e1 9.2.0 cited
Attachments
- pg-type-aclcheck-array-error.patch (text/x-patch) patch
On lör, 2011-12-10 at 16:16 +0100, Yeb Havinga wrote: > > * Cannot restrict access to array types. After revoking usage from the > element type, the error is perhaps a bit misleading. (smallint[] vs > smallint) > > postgres=> create table a (a int2[]); > ERROR: permission denied for type smallint[] This matter was still outstanding. The problem with fixing this is that you need to duplicate the array type to element type conversion in two dozen places. So I have refactored this into a separate function, which also takes care of the call to format_type_be, which is equally duplicated in as many places.