On Mon, Mar 9, 2020 at 3:54 AM Kyotaro Horiguchi
<horikyota(dot)ntt(at)gmail(dot)com> wrote:
> I may be missing something, andt any opinions, thoughts or suggestions
> are welcome.
Since it's a set-returning function, I would have expected that
instead of trying to assign the result to a variable, you'd loop over
it using FOR var IN query.
But if that's the problem, the error message is a bit odd.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company