Re: Refactor recordExtObjInitPriv() - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Refactor recordExtObjInitPriv()
Date
Msg-id 54b13402-b8ab-406a-d9a6-3542124ad6cf@enterprisedb.com
Whole thread Raw
In response to Re: Refactor recordExtObjInitPriv()  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: Refactor recordExtObjInitPriv()
List pgsql-hackers
On 12.01.23 01:04, Nathan Bossart wrote:
>> -             classoid == AggregateRelationId ||
> I noticed that AggregateRelationId isn't listed in the ObjectProperty
> array, so I think recordExtObjInitPriv() will begin erroring for that
> classoid instead of ignoring it like we do today.

Hmm, we do have some extensions in contrib that add aggregates (citext, 
intagg).  I suspect that the aggregate function is actually registered 
into the extension via its pg_proc entry, so this wouldn't actually 
matter.  But maybe the commenting should be clearer?




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Named Operators
Next
From: Andrew Dunstan
Date:
Subject: Re: on placeholder entries in view rule action query's range table