Hello,There is pg_background extension at github that may suit your needs.
RegardsPAscal
--Sent from: https://www.postgresql-archive.org/PostgreSQL-bugs-f2117394.html