On Mon, 2023-06-12 at 17:50 -0700, David G. Johnston wrote: > Only change the search_path if someone other than the table owner or > superuser is running the command (which should only be possible via > the new MAINTAIN privilege)?
That sounds like a reasonable compromise, but a bit messy. If we do it this way, is there hope to clean things up a bit in the future? These special cases are quite difficult to document in a comprehensible way. If others like this approach I'm fine with it. Regards, Jeff Davis