From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Adrien NAYRAT <adrien(dot)nayrat(at)anayrat(dot)info> |
Cc: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>, Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com> |
Subject: | Re: Log a sample of transactions |
Date: | 2019-01-24 21:24:18 |
Message-ID: | CA+TgmoZvTmJ24N3LRwykaLpYcLOrD9H_hah-KtWnGLTG_Y875A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Jan 18, 2019 at 8:23 AM Adrien NAYRAT
<adrien(dot)nayrat(at)anayrat(dot)info> wrote:
> On 1/18/19 9:03 AM, Peter Eisentraut wrote:
> > But if you have trouble with a specific transaction, how will a setting
> > help that randomly logs transactions, not necessarily the one you are
> > concerned about?
>
> Yes, it assumes your application performs same type of transaction.
> Maybe the use case is too specific to have this feature in core?
It doesn't sound too crazy to me. Say you log a sample of statements.
But then you're like, wow, this is hard to interpret, because I don't
know what happened earlier in the transaction. So then you use this
feature instead.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2019-01-24 21:26:22 | Re: proposal - plpgsql unique statement id |
Previous Message | Robert Haas | 2019-01-24 21:22:47 | Re: Protect syscache from bloating with negative cache entries |