Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hDAMy-0001H0-52 for pgsql-hackers@arkaria.postgresql.org; Sun, 07 Apr 2019 16:10:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hDAMw-00051k-Vb for pgsql-hackers@arkaria.postgresql.org; Sun, 07 Apr 2019 16:10:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hDAMw-00051L-GD for pgsql-hackers@lists.postgresql.org; Sun, 07 Apr 2019 16:10:06 +0000 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hDAMt-0004qu-Gm for pgsql-hackers@postgresql.org; Sun, 07 Apr 2019 16:10:06 +0000 Received: by mail-qt1-x842.google.com with SMTP id x12so12733104qts.7 for ; Sun, 07 Apr 2019 09:10:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=kJJBTKnlV5C+S1RAx3/053CKHJGdPoX1CgXW7YUKdnw=; b=CF0dLUpsBtVa1bZpptUBHce7GAWvZGebUEraAb2OTzQJ4gc1kga7Ezh4xehFKIfZEh VTFicvvtPPXd3d7lBsDjiYlKzG3R6IimCTzKUVi17T811+mrSR3sX0LRvFX93FqShYWf eg1DPQ6WXTdOTtEPASF2hN7+ePRqhyq6UoH5FULEjuZGBX/TPBD5zJxUtqQ4kkwjnCtf CtM5xjLmYfuLC0mWEc1tokMNap74xKjz/qtK4TAQXQjCVP7m6glrvMsgXjokiQQO6PYA O76BslZdfb6yP/SxymKEK1s+u5JI4Pt4OLr51pe6pU0zYL1xLYuR/FTRHnYiWLN+o2S7 yaig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=kJJBTKnlV5C+S1RAx3/053CKHJGdPoX1CgXW7YUKdnw=; b=MSuP+NVjSnfs213OLI6D8H7S1+4XyIh54IUdH/hg3oJrDrXdN12C2wYm6ev9SkK59H z4QMoUpQNHf4odQBsQ9S9OgxBouaNEPpUu6SAgLpEgMN1ZBJ+X90lZFebDeAG8nqLOZf bkdE+S/jr5dueJt1RKt996hJYSbcoQ9xPtUXAR/YD1b5zkBR9W+GRZHgH0bb9bUdoC7v 7fRdTQ4WZ4hUGqGBFR6O0d1Rk7vPiojbCQKo10+cBmM4H1mIlqaySHTRbV3cxumiL8Y8 M816MwC9nH2excSSr14PeTYzmLDtxCrhjTYhSXxMWcSAatc8l3GEIEQsMdJJPSKuQZ8E ucsw== X-Gm-Message-State: APjAAAVLS6qQ1gEaGhFk/4ZvFM2ABxaaGvk5C7CujeWyqguG+JsWx0Lf wjADMDjyllniSGz+Whe+WK7YLw== X-Google-Smtp-Source: APXvYqzqhfeNIieg2t2apyQPGciYQj9YRu3efTX2oh6AuMCbxVNKBLiacK/rO980R6q0q242Cgxc8w== X-Received: by 2002:aed:3bc3:: with SMTP id s3mr20904990qte.313.1554653401505; Sun, 07 Apr 2019 09:10:01 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([201.186.80.67]) by smtp.gmail.com with ESMTPSA id j25sm18592579qtc.24.2019.04.07.09.10.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 07 Apr 2019 09:10:00 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id E1CF6121123; Sun, 7 Apr 2019 12:09:57 -0400 (-04) Date: Sun, 7 Apr 2019 12:09:57 -0400 From: Alvaro Herrera To: Justin Pryzby Cc: Andres Freund , Arthur Zakirov , pgsql-hackers@postgresql.org Subject: Re: query logging of prepared statements Message-ID: <20190407160957.GA32275@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190407153101.GA10080@telsasoft.com> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Apr-07, Justin Pryzby wrote: > [...] Since I've been using log_statement=all, and not > log_min_duration_statement, I don't have a strong opinion about it. Ah, so your plan for this in production is to use the sample-based logging facilities, I see! Did you get Adrien a beer already? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services