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 1iUe2i-0006os-3Q for pgsql-hackers@arkaria.postgresql.org; Tue, 12 Nov 2019 21:49:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iUe2g-0007og-Sl for pgsql-hackers@arkaria.postgresql.org; Tue, 12 Nov 2019 21:49:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iUe2g-0007oZ-D7 for pgsql-hackers@lists.postgresql.org; Tue, 12 Nov 2019 21:49:42 +0000 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iUe2d-0000Mc-QI for pgsql-hackers@lists.postgresql.org; Tue, 12 Nov 2019 21:49:41 +0000 Received: by mail-qt1-x842.google.com with SMTP id y39so204431qty.0 for ; Tue, 12 Nov 2019 13:49:39 -0800 (PST) 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=nR0Hyb4U65zdkEQ3KHxQzUOcI5MYcPc/g23SDXiqbFw=; b=1FFxQd0hUrnqcuYjP+I4RBPimddIL13935KyMdq09e9d+Yldd0TG/9C9wVmNp8xrKK kxsLCeFbeXRzGS5Xmm/1Gu1N7vbayNG+bY00n92oiOhwFSZL0HzZqD2E6p+CFYkl8F12 t6hXrhLJ088gGhSbgTSEpGdSJOkVS5K510EkAPA0D4tzE0uJoL9ZrgklFyCO6hGLYByL w5AJMlM/xsUFAqaWtMyaglmxr1qhHWlyZrcpKKdW6ddYRKPCJbJQsp1BSknp6N5ejymO NBrAgNCPdrYik4RVKykoyij4q0LcwwKssPmffqL22tJPPiMeTREnx4KKgsx48cPmiPbp Gimw== 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=nR0Hyb4U65zdkEQ3KHxQzUOcI5MYcPc/g23SDXiqbFw=; b=dFtJ+CQz2XXtZGgR8jbhB441L5nKhtuDd3vUdYHIzwk8ILW88PZnOdVpZDX0mkhvEj AEDRL+advLHTau0McS1WH37dusFuJW4C4zfUEbAEUAtA8om+bdL9qiv5okmu8o3hft3a Yu+SAAnENRQ3WKsEOnhW1jTyTZ2DiMqPcQCeJa/i0iNE3uwuHWp64ZEnvILTTdljLHdm 09qsnuVoRbNPtiL8hh1sxueWkXXIc+5jh3XqzXIo8CGp0c+UYZOPA/ZO1o/oSkuahy3I tY4w8yikkVG4FNPR96nlPoqn5fML7lcZIKG3PP1NecuVQ0gmscnK8Y1CVfoptcSeqA31 nVfA== X-Gm-Message-State: APjAAAXnFcYe8rbYWaXVRBb0BL17oAtAWMwHKPaXZDBp1fblS8svViOo wgAK8fjKaCq7jsDgLtHaTonbeN9Mw4yQkLynTvMJs+4OyDe5Iut9cF8Y4kE3ps21zGfZ8UAI2Cg EYSkTd0ZOsb1ol6zc9lxjwat+gzlPc5uLgciMrTz8MaVoZOB80AecgmMr+BPleiu9v6mmuIxjwY /H5KAiRmpdj0ZgyKhJ X-Google-Smtp-Source: APXvYqwrkA/Mu9d5zHJycTPEhXT+jqE85Um8RkZ9ijZ3QwWvX5CX2k8ocp/v9fKYza9fs1MKaHdO+g== X-Received: by 2002:aed:3ae8:: with SMTP id o95mr33844422qte.277.1573595378583; Tue, 12 Nov 2019 13:49:38 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([172.98.67.40]) by smtp.gmail.com with ESMTPSA id i4sm62939qtp.57.2019.11.12.13.49.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2019 13:49:37 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id BDA5E300AAD; Tue, 12 Nov 2019 18:49:33 -0300 (-03) Date: Tue, 12 Nov 2019 18:49:33 -0300 From: Alvaro Herrera To: Euler Taveira Cc: PostgreSQL Hackers Subject: Re: auxiliary processes in pg_stat_ssl Message-ID: <20191112214933.GA492@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Nov-04, Euler Taveira wrote: > Yep, it is pointless. BackendType that open connections to server are: > autovacuum worker, client backend, background worker, wal sender. I > also notice that pg_stat_gssapi is in the same boat as pg_stat_ssl and > we should constraint the rows to backend types that open connections. > I'm attaching a patch to list only connections in those system views. Thanks! I pushed this. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services