pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Igor Korot <ikorot01@gmail.com>
To: Rob Sargent <robjsargent@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: How to watch for schema changes
Date: Thu, 12 Jul 2018 18:23:17 -0700
Message-ID: <85ea0995-ae6a-f090-0c53-0a8eeddf2e1e@aklaver.com> (raw)
In-Reply-To: <CA+FnnTyBpHYrRDkKKoSK3+BLDcUWB5tsRzzXuavt1QtF6fM6Rg@mail.gmail.com>
References: <CA+FnnTxqScf6mDw_7HLMfu7YTagPrsYUw-bc=OKsBQ0TqprvEA@mail.gmail.com>
	<d17c5c84-2988-8536-21c4-17ce9a9ef18c@aklaver.com>
	<CA+FnnTyNceWUR7+rDdOgbNfzM-ZyY-YQiBG8f9ATiceBCOs8qw@mail.gmail.com>
	<7fc929ec-8e34-5824-6511-d1dd1188434f@aklaver.com>
	<CA+FnnTyz5j=k_csZKr+NnHYgFN8HUaZo3Of_8eX1fYqW-B55LA@mail.gmail.com>
	<7faddf4c-3a58-d7f6-cef8-c65098fc16f5@aklaver.com>
	<CA+FnnTyFB6D6ur1rNXwtQ0W_d-FNbcat3wqAExR_eZGPeCUoNA@mail.gmail.com>
	<d0196918-81df-5771-73a4-91b0c5c094e8@aklaver.com>
	<CA+FnnTz4bxr_3Mh5TG4vi_hFEjCPh+qvk4nw8PRNkLdejR1xyQ@mail.gmail.com>
	<CAKFQuwbnuw69J+ddhBEkL8rH61S8ktmtrC2VOVRRC8+L=F6oWw@mail.gmail.com>
	<CA+FnnTzc8pfdj=1Zn-FWb+Y8ioC3gZZZNEfy+enHc3uX+00Xjw@mail.gmail.com>
	<2701290f-9c7e-01d4-cf15-a53d80846409@gmail.com>
	<CA+FnnTyBpHYrRDkKKoSK3+BLDcUWB5tsRzzXuavt1QtF6fM6Rg@mail.gmail.com>

On 07/12/2018 06:19 PM, Igor Korot wrote:
> Hi,
> 
> 
> On Thu, Jul 12, 2018 at 7:45 PM, Rob Sargent <robjsargent@gmail.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.klaver@aklaver.com




view thread (52+ messages)  latest in thread

Message-ID: <85ea0995-ae6a-f090-0c53-0a8eeddf2e1e@aklaver.com>
Permalink:  ../85ea0995-ae6a-f090-0c53-0a8eeddf2e1e@aklaver.com/
Also on:    postgresql.org/message-id/85ea0995-ae6a-f090-0c53-0a8eeddf2e1e@aklaver.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 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: adrian.klaver@aklaver.com, ikorot01@gmail.com, robjsargent@gmail.com
  Subject: Re: How to watch for schema changes
  In-Reply-To: <85ea0995-ae6a-f090-0c53-0a8eeddf2e1e@aklaver.com>
  References: <CA+FnnTxqScf6mDw_7HLMfu7YTagPrsYUw-bc=OKsBQ0TqprvEA@mail.gmail.com> <d17c5c84-2988-8536-21c4-17ce9a9ef18c@aklaver.com> <CA+FnnTyNceWUR7+rDdOgbNfzM-ZyY-YQiBG8f9ATiceBCOs8qw@mail.gmail.com> <7fc929ec-8e34-5824-6511-d1dd1188434f@aklaver.com> <CA+FnnTyz5j=k_csZKr+NnHYgFN8HUaZo3Of_8eX1fYqW-B55LA@mail.gmail.com> <7faddf4c-3a58-d7f6-cef8-c65098fc16f5@aklaver.com> <CA+FnnTyFB6D6ur1rNXwtQ0W_d-FNbcat3wqAExR_eZGPeCUoNA@mail.gmail.com> <d0196918-81df-5771-73a4-91b0c5c094e8@aklaver.com> <CA+FnnTz4bxr_3Mh5TG4vi_hFEjCPh+qvk4nw8PRNkLdejR1xyQ@mail.gmail.com> <CAKFQuwbnuw69J+ddhBEkL8rH61S8ktmtrC2VOVRRC8+L=F6oWw@mail.gmail.com> <CA+FnnTzc8pfdj=1Zn-FWb+Y8ioC3gZZZNEfy+enHc3uX+00Xjw@mail.gmail.com> <2701290f-9c7e-01d4-cf15-a53d80846409@gmail.com> <CA+FnnTyBpHYrRDkKKoSK3+BLDcUWB5tsRzzXuavt1QtF6fM6Rg@mail.gmail.com> <85ea0995-ae6a-f090-0c53-0a8eeddf2e1e@aklaver.com>

* 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