On Mon, 2026-06-15 at 23:21 +0200, Álvaro Herrera wrote:
> I am imagining that only database owners would be able to create
> operators.  There isn't any case for allowing that for anybody else,
> ISTM.  How much need is there for "less-trusted" operators, really?

That's probably true in almost all cases. Operators are generally
defined as part of an extension that offers interesting types and
opclasses, and these are C extensions anyway. I haven't ever seen
someone define a convenience operator like they might define a
convenience function.

Perhaps some use it for some clever hacks around unmodifiable
application code or something?

Regards,
        Jeff Davis



Reply via email to