Re: Removing pg_pltemplate and creating "trustable" extensions
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Stephen Frost <sfrost@snowman.net>,
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-01-28T20:58:28Z
Lists: pgsql-hackers
On Tue, Jan 28, 2020 at 3:52 PM Tom Lane <tgl@sss.pgh.pa.us> wrote: > I continue to think that allowing DB owners to decide this is, if not > fundamentally the wrong thing, at least not a feature that anybody has > asked for in the past. The feature *I* want in this area is for the > superuser to be able to decide who's got install privilege. Making > it a DB-level privilege doesn't serve that goal, more the opposite. I agree. > Still, if we can compromise by making this part of DB "CREATE" privilege > for the time being, I'm willing to take that compromise. It's certainly > better than failing to get rid of pg_pltemplate. Doesn't that have exactly the issue you describe above? bob=> grant create on database bob to fred; GRANT -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Commits
-
Invent "trusted" extensions, and remove the pg_pltemplate catalog.
- 50fc694e4374 13.0 landed