Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fVcoV-00015C-Eh for pgsql-general@arkaria.postgresql.org; Wed, 20 Jun 2018 13:06:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fVcoT-0003jy-Rj for pgsql-general@arkaria.postgresql.org; Wed, 20 Jun 2018 13:06:17 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fVcoT-0003jo-Gb for pgsql-general@lists.postgresql.org; Wed, 20 Jun 2018 13:06:17 +0000 Received: from mail.kicktipp.com ([136.243.166.181]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fVcoQ-0000Gz-KQ for pgsql-general@lists.postgresql.org; Wed, 20 Jun 2018 13:06:16 +0000 Received: from [IPv6:2003:c5:3717:469:7011:448e:9ad8:829e] (p200300C5371704697011448E9AD8829E.dip0.t-ipconnect.de [IPv6:2003:c5:3717:469:7011:448e:9ad8:829e]) by mail.kicktipp.com (Postfix) with ESMTPSA id BA45C6C4DBF for ; Wed, 20 Jun 2018 15:06:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kicktipp.de; s=kicktipp.de; t=1529499973; bh=RgB5fs3IjybGfqnEiBJVE89cxpfXC6gQuFyR2zrko8k=; h=Subject:To:References:From:Date:In-Reply-To:From; b=os6VJ8WkY3+3QfEKuTUIiIjzF1LVW1lWagEPpRcjHvOWYNLNGaytxmFR+DQUA8Myz 5LBHn21eHrkeP777mdH/QGVQRFmezDiHxiDr0qh6OpvFtc8K84uLq+jRvjV5ldPe+c Cpe8j0lWz610cAovT9ftMPof0ns3HQNjTzpM6+xSpYEj0wsPvGQ272ZleBcf9zGMbP 8EHTtRO12whAEZlWaBk+2NZ3PR1dXB1wuLdVZHN6sUhuxrrW2r3UQd9V6/Qtj+53MJ 5WC8cmaOa8dbf+1wg5ZZUhfAgwjW1UHQKz3ONrC9mJ6RxfoJyBVinZC2VFNxMQi2vO RofcFHAVFw03w== Subject: Re: Suggestion about logging only every n-th statement To: pgsql-general@lists.postgresql.org References: <2de13224-948c-3d92-50f9-34a22d0377b8@anayrat.info> From: Janning Vygen Message-ID: Date: Wed, 20 Jun 2018 15:06:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <2de13224-948c-3d92-50f9-34a22d0377b8@anayrat.info> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Am 20.06.2018 um 14:53 schrieb Adrien NAYRAT: > On 06/20/2018 01:51 PM, Janning Vygen wrote: >> Back in 2009 I made a suggestion which is not implemented yet but >> would still be very valuable and easy to implement in my opinion (not >> for me as I am not speaking C): >> >> https://www.postgresql.org/message-id/flat/200903161426.56662.vygen%40kicktipp.de#200903161426.56662.vygen@kicktipp.de >> > > FYI in made this patch which seems do what you want : > https://www.postgresql.org/message-id/flat/c30ee535-ee1e-db9f-fa97-146b9f62caed%40anayrat.info#c30ee535-ee1e-db9f-fa97-146b9f62caed@anayrat.info > > > I will add an entry in september's commit fest. excellent. Exactly what I want! regards Janning