agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: Rob Sargent <robjsargent@gmail.com>
To: Gaurav Tomar <gauravtomar14@gmail.com>
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Re: Table/log file name which store the queries which got executed in last 1 month
Date: Thu, 30 Apr 2020 21:33:10 -0600
Message-ID: <2C56068A-8E81-4E5B-8926-A7D8F7804BD8@gmail.com> (raw)
In-Reply-To: <CAByYU3T6g6gh9=DA-bnme7YMOA9zK0ZPUZ2DR-cL6kV25yY+sg@mail.gmail.com>
References: <CAByYU3T6g6gh9=DA-bnme7YMOA9zK0ZPUZ2DR-cL6kV25yY+sg@mail.gmail.com>
> On Apr 30, 2020, at 9:19 PM, Gaurav Tomar <gauravtomar14@gmail.com> wrote:
>
> Hi All,
>
> In our production environment data in some of the table has been updated from the back end by some user. The update is very random, is there any table which stores the details of queries got executed in last one month or so.
> Regards,
>
> Gaurav
>
> +91 876 265 4621
>
No.
Depending on the system configurations settings such as ‘log_statement’ there may be useful information in the postgres server logs.
Current version of these settings are described here: https://www.postgresql.org/docs/12/runtime-config-logging.html <https://www.postgresql.org/docs/12/runtime-config-logging.html>=
view thread (5+ messages) latest in thread
Message-ID: <2C56068A-8E81-4E5B-8926-A7D8F7804BD8@gmail.com>
Permalink: ../2C56068A-8E81-4E5B-8926-A7D8F7804BD8@gmail.com/
Also on: postgresql.org/message-id/2C56068A-8E81-4E5B-8926-A7D8F7804BD8@gmail.com
reply
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-sql@postgresql.org
Cc: robjsargent@gmail.com, gauravtomar14@gmail.com
Subject: Re: Table/log file name which store the queries which got executed in last 1 month
In-Reply-To: <2C56068A-8E81-4E5B-8926-A7D8F7804BD8@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox