From: Tom Lane <tgl@sss.pgh.pa.us>
To: Boboc Cristi <bobocc@yahoo.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Cc: pgsql-general-owner@lists.postgresql.org <pgsql-general-owner@lists.postgresql.org>
Subject: Re: Debugging features needed
Date: Fri, 05 Nov 2021 09:51:44 -0400
Message-ID: <412962.1636120304@sss.pgh.pa.us> (raw)
In-Reply-To: <1395901381.802146.1636111701121@mail.yahoo.com>
References: <1395901381.802146.1636111701121.ref@mail.yahoo.com>
<1395901381.802146.1636111701121@mail.yahoo.com>
Boboc Cristi <bobocc@yahoo.com> writes:
> I need a feature that would me allow to debug "live" the work of an application together with a PostgreSQL database.
> I think that if I would be able to define a session variable that is visible in pg_stat_activity (or in other system view, table or function) I would be more than happy.
application_name is meant for that ...
regards, tom lane
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: tgl@sss.pgh.pa.us, bobocc@yahoo.com, pgsql-general-owner@lists.postgresql.org
Subject: Re: Debugging features needed
In-Reply-To: <412962.1636120304@sss.pgh.pa.us>
References: <1395901381.802146.1636111701121.ref@mail.yahoo.com> <1395901381.802146.1636111701121@mail.yahoo.com> <412962.1636120304@sss.pgh.pa.us>
* 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