Sv: Transactions - Mailing list pgsql-general

From Andreas Joseph Krogh
Subject Sv: Transactions
Date
Msg-id VisenaEmail.4.163e6ee42df1ee1f.16a017693c6@tc7-visena
Whole thread Raw
In response to Transactions  (Karl Martin Skoldebrand <KS0C77263@TechMahindra.com>)
Responses RE: Transactions  (Karl Martin Skoldebrand <KS0C77263@TechMahindra.com>)
List pgsql-general
På tirsdag 09. april 2019 kl. 11:26:29, skrev Karl Martin Skoldebrand <KS0C77263@TechMahindra.com>:

Hi,

 

Is there a way to track “transactions” by default (i.e. without anyone having set up anything specific). The problem I am facing is that users are claiming that settings are disappearing with them doing anything to affect them. It would be good to be able to see what postgresql thinks is going on.

*Subscriber adds Severity/BU/Service by ticking the corresponding box in subscriber configuration in WEBAPP. This works for some time.

*Subscriber stops receiving selected [tickets].

*Upon checking settings the selected Severity/BU/Service has been unselected.

 
 
Not "without anyone having set up anything specific", but you can change the setting in postgresql.conf to:
 
log_statement = 'all'
 
and reload the settings.
 
You can now see all SQL executed in the log and can debug what's going on.
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
 
Attachment

pgsql-general by date:

Previous
From: Karl Martin Skoldebrand
Date:
Subject: Transactions
Next
From: Fabio Pardi
Date:
Subject: Re: Transactions