On Fri, Mar 26, 2021, at 11:30, Alvaro Herrera wrote:
> On 2021-Mar-26, Joel Jacobson wrote:
> 
> > On Thu, Mar 25, 2021, at 17:51, Tom Lane wrote:
> 
> > > I wonder what performance will be like with lots o' objects.
> > 
> > I guess pg_get_acl() would need to be implemented using a switch(classid) 
> > with 36 cases (one for each class)?
> 
> No, we have a generalized object query mechanism, see objectaddress.c

That's where I was looking actually and noticed the switch with 36 cases, in 
the function getObjectDescription().

/Joel

Reply via email to