That having a table and function with similar names causes this problem is a bug.
Going forward I'll be sure to avoid the problem. On Wed, Aug 6, 2025 at 5:35 PM David G. Johnston <david.g.johns...@gmail.com> wrote: > On Wednesday, August 6, 2025, Rumpi Gravenstein <rgrav...@gmail.com> > wrote: > >> Here's a reproducible test case that causes the problem in different >> schemas. The issue appears to be related to creating a table and a >> function that has the same name as the table with a prepended underscore. >> > > Don’t do that. Naming a function (action) and table (noun) the same seems > unwise anyway, underscores or no. > > David J. > > -- Rumpi Gravenstein