RE: How to get the content of Bind variables - Mailing list pgsql-performance

From ROS Didier
Subject RE: How to get the content of Bind variables
Date
Msg-id 03acdbec6d824785a9901315f671fa7a@PCYINTPEXMU001.NEOPROD.EDF.FR
Whole thread Raw
In response to Re: How to get the content of Bind variables  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: How to get the content of Bind variables  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-performance
Hi Laurent

Here is a biggest part of my log file :

>>
 2019-02-27 14:41:28 CET [16239]: [5696-1] [10086]
user=pgbd_preint_sg2,db=pgbd_preint_sg2,client=localhost.localdomainLOG: duration: 1.604 ms
 
2019-02-27 14:41:28 CET [16239]: [5697-1] [10086]
user=pgbd_preint_sg2,db=pgbd_preint_sg2,client=localhost.localdomainLOG: duration: 0.084 ms  parse <unnamed>: update
t_shared_liste_valeursset deletion_date=$1, deletion_login=$2, modification_date=$3, modification_login=$4,
administrable=$5,libelle=$6, niveau=$7 where code=$8
 
2019-02-27 14:41:28 CET [16239]: [5698-1] [10086]
user=pgbd_preint_sg2,db=pgbd_preint_sg2,client=localhost.localdomainLOG: plan:
 
2019-02-27 14:41:28 CET [16239]: [5699-1] [10086]
user=pgbd_preint_sg2,db=pgbd_preint_sg2,client=localhost.localdomainSTATEMENT: update t_shared_liste_valeurs set
deletion_date=$1,deletion_login=$2, modification_date=$3, modification_login=$4, administrable=$5, libelle=$6,
niveau=$7where code=$8
 
2019-02-27 14:41:28 CET [16239]: [5700-1] [10086]
user=pgbd_preint_sg2,db=pgbd_preint_sg2,client=localhost.localdomainLOG: duration: 0.288 ms  bind <unnamed>: update
t_shared_liste_valeursset deletion_date=$1, deletion_login=$2, modification_date=$3, modification_login=$4,
administrable=$5,libelle=$6, niveau=$7 where code=$8
 
2019-02-27 14:41:28 CET [16239]: [5701-1] [10086]
user=pgbd_preint_sg2,db=pgbd_preint_sg2,client=localhost.localdomainLOG: execute <unnamed>: update
t_shared_liste_valeursset deletion_date=$1, deletion_login=$2, modification_date=$3, modification_login=$4,
administrable=$5,libelle=$6, niveau=$7 where code=$8
 
<<
The statement has been executed
It is the same problem for all the statements.
I can not get the content of the bind variables.


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
Tél. : +33 6 49 51 11 88


-----Message d'origine-----
De : laurenz.albe@cybertec.at [mailto:laurenz.albe@cybertec.at] 
Envoyé : jeudi 28 février 2019 17:01
À : ROS Didier <didier.ros@edf.fr>; pgsql-performance@postgresql.org
Objet : Re: How to get the content of Bind variables

ROS Didier wrote:
>                In the log file of my PostgreSQL cluster, I find :
> >> 
> 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 <<
>  
> how to get the content of the bind variables ?

Can we see the whole log entry and the following one?

Perhaps there was a syntax error or similar, and the statement was never executed.

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com




Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires
etles 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
divulguerou 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éesou 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
thisMessage is confidential. Any use of information contained in this Message not in accord with its purpose, any
disseminationor 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
messagein 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.

pgsql-performance by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: How to get the content of Bind variables
Next
From: Justin Pryzby
Date:
Subject: Re: How to get the content of Bind variables