Re: How to watch for schema changes

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Igor Korot <ikorot01(at)gmail(dot)com>, Rob Sargent <robjsargent(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: How to watch for schema changes
Date: 2018-07-13 01:23:17
Message-ID: 85ea0995-ae6a-f090-0c53-0a8eeddf2e1e@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 07/12/2018 06:19 PM, Igor Korot wrote:
> Hi,
>
>
> On Thu, Jul 12, 2018 at 7:45 PM, Rob Sargent <robjsargent(at)gmail(dot)com> wrote:

>
>> Can you try that again as root? Or with sudo?
>
> Yes, it did show up.
> But now it looks like I have 2 places to set the logging:
>
> log_statement_stats which I presume is just for statistics and
> log_statement which I presume I should change.

All is answered here:

https://www.postgresql.org/docs/10/static/runtime-config-logging.html

>
> Am I right?
> Also, I had to turn on logging - use csvlog, and enable the directory
> and filename.
> I presume that this will not require the restart of the server, correct?
>
> Thank you.
>
>>
>>
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Łukasz Jarych 2018-07-13 05:00:24 Read only to schema
Previous Message Igor Korot 2018-07-13 01:19:12 Re: How to watch for schema changes