From: Olivier Leprêtre <o.lepretre@gmail.com>
To: pgsql-general@postgresql.org
Subject: Track pgsql steps
Date: Wed, 29 Jul 2020 17:44:58 +0200
Message-ID: <080c01d665bf$370bfde0$a523f9a0$@gmail.com> (raw)
Hi,
I have a rather long pgsql procedure and I would like to detect which step
is currently executing (subscript 1,2,3…). Due to transaction isolation,
it’s not possible to make it write in a table or get nexval from a sequence
because values become available only after the complete end of the
procedure.
Do you see any solution in this purpose ?
Thanks,
Olivier
--
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: o.lepretre@gmail.com
Subject: Re: Track pgsql steps
In-Reply-To: <080c01d665bf$370bfde0$a523f9a0$@gmail.com>
References: <080c01d665bf$370bfde0$a523f9a0$@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox