plpython: Add test for returning Python set from SETOF function
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 3 Apr 2025 09:04:28 +0000 (11:04 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 3 Apr 2025 09:09:50 +0000 (11:09 +0200)
commit231064aa0fbcdf12b7248e8d8d43a75482afbf1f
treeb4a889b093fbf990a5f85ed80c9e1ac86de01e2c
parentd1d83827ba4d8c5c87cd59a164a2c7a99f897512
plpython: Add test for returning Python set from SETOF function

This is claimed in the documentation but there was a no test case for
it.

Reported-by: Bogdan Grigorenko <gri.bogdan.2020@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/173543330569.680.6706329879058172623%40wrigleys.postgresql.org
src/pl/plpython/expected/plpython_setof.out
src/pl/plpython/sql/plpython_setof.sql