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.92) (envelope-from ) id 1jDQbF-0005zD-UN for pgsql-hackers@arkaria.postgresql.org; Sun, 15 Mar 2020 10:34:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jDQbE-0003Iw-DH for pgsql-hackers@arkaria.postgresql.org; Sun, 15 Mar 2020 10:34:28 +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 1jDQbE-0003Ik-4Q for pgsql-hackers@lists.postgresql.org; Sun, 15 Mar 2020 10:34:28 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jDQbB-000720-FJ for pgsql-hackers@postgresql.org; Sun, 15 Mar 2020 10:34:27 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 16E8121C47; Sun, 15 Mar 2020 06:34:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 15 Mar 2020 06:34:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=OuTSmf1dYF5x/AwKw+olM6zStt8pab4qcXn4IvVFK Sw=; b=A4CpA2wi/P34QkIhI4ZcddaN5MOdcoKeEC9Y8EwR+EWq1rkIoLrjzryb0 D/sMWuoQtO6HOFBb/mi5ZChzdOJI5uYEjdaa2JU6T8wFo+NjuWwibG6ysyH5iwC4 wNkswp38Z6uG6A8xMFTyVTlxkKEq8/QHRFBM3uMYDGR6KdDusfmhy5gOpDo0vZNu wCGj3QQwcCcdgwR+oPd/sLNJ7NekSnlXSrQogTHHJQU7zRhSCse6cOl9KqkxNiMi 534QeL2IALcTmHnPnumPXFsIqsoe9Tx2NsvbYrFgQIcId8I1TqKEFGHTkP9FWcMg JvjkEQgV4KyESZNCFHbStdKu3hhkw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudeftddgudefiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhfhokffffgggjggtgfesthejredttdefheenucfhrhhomheprfgv thgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsedvnh guqhhurggurhgrnhhtrdgtohhmqeenucffohhmrghinhepvdhnughquhgrughrrghnthdr tghomhenucfkphepleefrddvgedvrddvudefrddvgedunecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgruhht sedvnhguqhhurggurhgrnhhtrdgtohhm X-ME-Proxy: Received: from april.pezone.net (p5df2d5f1.dip0.t-ipconnect.de [93.242.213.241]) by mail.messagingengine.com (Postfix) with ESMTPA id 9506B3060F09; Sun, 15 Mar 2020 06:34:21 -0400 (EDT) Subject: Re: backend type in log_line_prefix? To: Justin Pryzby References: <20200213091428.GA15600@nol> <20200310190142.GB29065@telsasoft.com> <20200311185354.GW29065@telsasoft.com> <20200315095728.GA26184@telsasoft.com> Cc: Fujii Masao , Julien Rouhaud , pgsql-hackers@postgresql.org From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Sun, 15 Mar 2020 11:34:20 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20200315095728.GA26184@telsasoft.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-03-15 10:57, Justin Pryzby wrote: > I suggest the CSV/log should also have the leader_pid, corresponding to > | b025f32e0b Add leader_pid to pg_stat_activity I haven't followed those developments. It sounds interesting, but I suggest you start a new thread or continue in the thread that added leader_pid. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services