Re: Fix unqualified catalog references in psql describe queries - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Fix unqualified catalog references in psql describe queries
Date
Msg-id 36a1871d7ba625197c023ceb5118045786c6fe5f.camel@j-davis.com
Whole thread
In response to Re: Fix unqualified catalog references in psql describe queries  (Álvaro Herrera <alvherre@kurilemu.de>)
List pgsql-hackers
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




pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Can we get rid of TerminateThread() in pg_dump?
Next
From: Michael Paquier
Date:
Subject: Re: VACUUM FULL or CREATE INDEX fails with error: missing chunk number 0 for toast value XXX