Re: generating function default settings from pg_proc.dat

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Cc: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: generating function default settings from pg_proc.dat
Date: 2026-03-05 22:44:06
Message-ID: 186784.1772750646@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I wrote:
> =?utf-8?Q?=C3=81lvaro?= Herrera <alvherre(at)kurilemu(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-03-05 22:49:39 Re: [BUG + PATCH] DSA pagemap out-of-bounds in make_new_segment odd-sized path
Previous Message Rahila Syed 2026-03-05 22:31:09 Re: Enhancing Memory Context Statistics Reporting