Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k0qLJ-0006mM-Tu for pgsql-general@arkaria.postgresql.org; Wed, 29 Jul 2020 17:58:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k0qLI-0005KW-Rp for pgsql-general@arkaria.postgresql.org; Wed, 29 Jul 2020 17:58:16 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k0oGW-0002Pi-SH for pgsql-general@lists.postgresql.org; Wed, 29 Jul 2020 15:45:13 +0000 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k0oGQ-0004Ch-9c for pgsql-general@postgresql.org; Wed, 29 Jul 2020 15:45:11 +0000 Received: by mail-wm1-x335.google.com with SMTP id g8so3151876wmk.3 for ; Wed, 29 Jul 2020 08:45:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version:thread-index :content-language; bh=jGyIOlL1sxY8FL7Uw8/pSdUHWnrUVe9ekUfsa476Al4=; b=DhRxZQKw94M4Nd3yHkCL0xR1hdBDnVdMb7OydjsvmaRAs7wgil4ppKjYohLxBSlAlI bvpKMsfYUiR9dF7yLpvK4juiW4ZMz8nlyaM4znkNN9N1oBv0YKM9r8g/s9w1/7KppyPG eJb3ONysnFevLMLYbzSvQM00iRcb1AgznBn9iJ8eb8y86mKohwmqlanXNsUrO3HVbWh9 bYLiJEWjMvNMwVG2C2SdhQARADs4AE00cnd0fhFgCVZOBU9d6P8ewhvMxMtLWq8NtMTi 6VB20BhjHb4q5tYd3X1owaE/yHOoAE5ga7osGNLjaW3Vgxdo10Ya4LZ0sfchKbKwp8cV HA9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :thread-index:content-language; bh=jGyIOlL1sxY8FL7Uw8/pSdUHWnrUVe9ekUfsa476Al4=; b=Gmh3XUnw12/aL3uQXSGke/YKopSOtRSiDZ06/Sp3wPlV79ldnpOfLvJna5TBdJTdqL ibbbkjbmvcjWDl2dJgWqzx2X4cxm0EN6gp+3AH185YC4iwSAqMbG4ZxJLJK2hyybRjfm E+461Br8J89uKq7BJvg6oH3KSLZeRVNugu0i7xewuCuOeJ568z7ZmOI+4kpMlxSZGSz3 huSC1lbr6nfY7LXdF/ZNAv9ObDcDY/xDmpiM57hc0Tis5dxCFFtqHKQ9J09IVU7LDPoU DNnUUwQfDh8T8+cj5I1NDFOHJ7oJUQpzcScUSlYNiaukamME0jqN2iKak2YlDHdaZ2vw k+VQ== X-Gm-Message-State: AOAM532akVBAHv5SHPFgrDtY0Cftr/+d4Xb2oPSAxZmQhW9bg6IZtdIo xcL8IGLIxGbS6IhR3hQyEs1oVeMW X-Google-Smtp-Source: ABdhPJznm02/PXaqhWb6CQ+5DoHL1fu0Jxf9pa9o4IXY7O9k0G4A6G9UvZ57iCTtOIPWhmQsw50mjQ== X-Received: by 2002:a1c:24d5:: with SMTP id k204mr6664683wmk.159.1596037501779; Wed, 29 Jul 2020 08:45:01 -0700 (PDT) Received: from PADOUE (169-121-103-94.ftth.cust.kwaoo.net. [94.103.121.169]) by smtp.gmail.com with ESMTPSA id c15sm5502493wme.23.2020.07.29.08.45.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Jul 2020 08:45:01 -0700 (PDT) From: =?iso-8859-1?Q?Olivier_Lepr=EAtre?= To: Subject: Track pgsql steps Date: Wed, 29 Jul 2020 17:44:58 +0200 Message-ID: <080c01d665bf$370bfde0$a523f9a0$@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_080D_01D665CF.FA94CDE0" X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdZlvzIDE5PAtFjHROOO8oRHCQm5Kg== Content-Language: fr X-Antivirus: Avast (VPS 200729-4, 29/07/2020), Outbound message X-Antivirus-Status: Clean List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multipart message in MIME format. ------=_NextPart_000_080D_01D665CF.FA94CDE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have a rather long pgsql procedure and I would like to detect which step is currently executing (subscript 1,2,3=85). Due to transaction isolation, it=92s not possible to make it write in a table or get nexval from a sequen= ce 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 =E9lectronique a =E9t=E9 v=E9rifi=E9e p= ar le logiciel antivirus Avast. https://www.avast.com/antivirus ------=_NextPart_000_080D_01D665CF.FA94CDE0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

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 t= ransaction isolation, it’s not possible to make it write in a table o= r get nexval from a sequence because values become available only after the= complete end of the procedure.

<= span style=3D'font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F49= 7D'> 

Do you see any so= lution in this purpose ?

 

Thanks,<= /span>

 

Olivier

=  

 


3D"" Garant= i sans virus. www.avast.com
= ------=_NextPart_000_080D_01D665CF.FA94CDE0--