From: ROS Didier <didier.ros@edf.fr>
To: legrand_legrand@hotmail.com <legrand_legrand@hotmail.com>
To: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: RE: How to get the content of Bind variables
Date: Sat, 2 Mar 2019 13:14:44 +0000
Message-ID: <5342fc1893b94ea0adecb400375ef365@PCYINTPEXMU001.NEOPROD.EDF.FR> (raw)
In-Reply-To: <1551472898802-0.post@n3.nabble.com>
References: <716d29c0713049e98cb80faff31db103@PCYINTPEXMU001.NEOPROD.EDF.FR>
<20190228161900.GV28750@telsasoft.com>
<e98a3b508fb8457cbce36a59515d45be@PCYINTPEXMU001.NEOPROD.EDF.FR>
<30904.1551457782@sss.pgh.pa.us>
<614c71eb156f49f696018916353fe454@PCYINTPEXMU001.NEOPROD.EDF.FR>
<1551472898802-0.post@n3.nabble.com>
Hi
The SQL is not executed from a trigger.
Here is an extract of my log file :
>>
2019-03-01 14:53:37 CET [24803]: [129-1] [3686] user=pgbd_preint_sg2,db=pgbd_preint_sg2 LOG: process 24803 still waiting for ShareLock on transaction 3711 after 1000.476 ms
2019-03-01 14:53:37 CET [24803]: [130-1] [3686] user=pgbd_preint_sg2,db=pgbd_preint_sg2 DETAIL: Process holding the lock: 24786. Wait queue: 24803.
2019-03-01 14:53:37 CET [24803]: [131-1] [3686] user=pgbd_preint_sg2,db=pgbd_preint_sg2 CONTEXT: while rechecking updated tuple (3,33) in relation "t_shared_liste_valeurs"
2019-03-01 14:53:37 CET [24803]: [132-1] [3686] user=pgbd_preint_sg2,db=pgbd_preint_sg2 STATEMENT: update t_shared_liste_valeurs set deletion_date=$1, deletion_login=$2, modification_date=$3, modification_login=$4, administrable=$5, libelle=$6, niveau=$7 where code=$8
<<
After a fresh db restart, the result is the same : no content of Bind variables in the log file.
Best Regards[cid:image002.png@01D14E0E.8515EB90]
Didier ROS
Expertise SGBD
EDF - DTEO - DSIT - IT DMA
Département Solutions Groupe
Groupe Performance Applicative
32 avenue Pablo Picasso
92000 NANTERRE
didier.ros@edf.fr<mailto:didier.ros@edf.fr>
Tél. : +33 6 49 51 11 88
[cid:image003.png@01D4BE20.1EAF68B0]<mailto:prenom.nom@edf.fr>[cid:image004.png@01D4BE20.1EAF68B0]<sip:prenom.nom@edf.fr>
-----Message d'origine-----
De : legrand_legrand@hotmail.com [mailto:legrand_legrand@hotmail.com]
Envoyé : vendredi 1 mars 2019 21:42
À : pgsql-performance@postgresql.org
Objet : RE: How to get the content of Bind variables
Hi Didier,
I imagine that this is the sql executed from a trigger.
Could you provide the trigger pl/pgsql code ?
as the source and target tables (anonymized) definition ?
After a fresh db restart, are thoses logs the same for the 6 first executions and the following ones ?
Regards
PAscal
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-performance-f2050081.html
Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.
Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions également d'en avertir immédiatement l'expéditeur par retour du message.
Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, sont sécurisées ou dénuées de toute erreur ou virus.
____________________________________________________
This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.
If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.
E-mail communication cannot be guaranteed to be timely secure, error or virus-free.
Attachments:
[image/png] image001.png (3.8K, ../5342fc1893b94ea0adecb400375ef365@PCYINTPEXMU001.NEOPROD.EDF.FR/3-image001.png)
download | view image
[image/png] image002.png (1.2K, ../5342fc1893b94ea0adecb400375ef365@PCYINTPEXMU001.NEOPROD.EDF.FR/4-image002.png)
download | view image
[image/png] image003.png (1.9K, ../5342fc1893b94ea0adecb400375ef365@PCYINTPEXMU001.NEOPROD.EDF.FR/5-image003.png)
download | view image
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: didier.ros@edf.fr, legrand_legrand@hotmail.com
Subject: RE: How to get the content of Bind variables
In-Reply-To: <5342fc1893b94ea0adecb400375ef365@PCYINTPEXMU001.NEOPROD.EDF.FR>
* 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