Re: generating function default settings from pg_proc.dat
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Álvaro Herrera <alvherre@kurilemu.de>
Cc: Corey Huinker <corey.huinker@gmail.com>,
Andres Freund <andres@anarazel.de>,
Andrew Dunstan <andrew@dunslane.net>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2026-03-05T22:44:06Z
Lists: pgsql-hackers
I wrote: > =?utf-8?Q?=C3=81lvaro?= Herrera <alvherre@kurilemu.de> writes: >> I think this is an OK arrangement, but perhaps there should be a comment >> in system_views.sql about it. > Yeah, that'd be a good thing to do if we keep it like this. Perhaps > more or less > * Some of these views are not meant to be publicly readable. The > * underlying function(s) for such a view should not be publicly > * executable either --- but by default they will be. Don't forget to > * adjust function permissions (in pg_proc.dat) when adding a new view. Hearing no further comments, pushed like that. regards, tom lane
Commits
-
Simplify creation of built-in functions with non-default ACLs.
- f95d73ed4332 19 (unreleased) landed
-
Be more wary of false matches in initdb's replace_token().
- 7664319ccb02 19 (unreleased) landed
-
Simplify creation of built-in functions with default arguments.
- 759b03b24ce9 19 (unreleased) landed