Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1biQ6n-0007xA-6x for pgsql-hackers@arkaria.postgresql.org; Fri, 09 Sep 2016 18:01:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1biQ6m-0006am-5L for pgsql-hackers@arkaria.postgresql.org; Fri, 09 Sep 2016 18:01:00 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1biQ5N-0004xp-Oa for pgsql-hackers@postgresql.org; Fri, 09 Sep 2016 17:59:33 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1biQ5H-0001wZ-4Y for pgsql-hackers@postgresql.org; Fri, 09 Sep 2016 17:59:33 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u89HxOk7031255; Fri, 9 Sep 2016 13:59:24 -0400 From: Tom Lane To: Fujii Masao cc: PostgreSQL-development Subject: Re: Re: [COMMITTERS] pgsql: Use LEFT JOINs in some system views in case referenced row doesn In-reply-to: References: Comments: In-reply-to Fujii Masao message dated "Sat, 10 Sep 2016 02:51:41 +0900" Date: Fri, 09 Sep 2016 13:59:24 -0400 Message-ID: <31254.1473443964@sss.pgh.pa.us> X-Pg-Spam-Score: -3.2 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Fujii Masao writes: > On Sat, Aug 20, 2016 at 6:13 AM, Tom Lane wrote: >> Use LEFT JOINs in some system views in case referenced row doesn't exist. > This change causes pg_stat_activity to report the "bogus" information about > walsenders as follows. Hmm ... but if we want to exclude walsenders from that view, surely we should do so explicitly, not have it happen as a hidden side-effect of not being able to join them to pg_database. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers