I solved the problem with: CREATE FUNCTION myfunc ... RETURNS Token[] ... SET search_path to rdb;
I still don't know why it happens in the first place, though. On Thu, Feb 6, 2025 at 12:14 PM Tom Lane <t...@sss.pgh.pa.us> wrote: > "David G. Johnston" <david.g.johns...@gmail.com> writes: > > On Thu, Feb 6, 2025 at 9:47 AM Chris Cleveland < > cclevel...@dieselpoint.com> > > wrote: > >> RETURN "rdb.Token"[], RETURN "rdb.Token[]" all fail. > > > Expecting these two to work suggests you need to re-read the section on > how > > quoting identifiers works. > > I'm wondering if it needs to be "Token". Mixed-case SQL identifiers > are usually more of a pain than they're worth, frankly. > > regards, tom lane > -- Chris Cleveland 312-339-2677 mobile