Record last SELECT on a row?

Thiemo Kellner <thiemo@gelassene-pferde.biz>

From: Thiemo Kellner <thiemo@gelassene-pferde.biz>
To: pgsql-general@lists.postgresql.org
Date: 2025-12-17T17:14:33Z
Lists: pgsql-general
Hi

I wonder whether a view calling a set returning function would be a viable option. Within the function you execute the actual query twice. Once to merge selected pk into a protocol table and once for the return of the data set.

Cheers

Thiemo