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 1hoDsU-0006PC-Mz for pgsql-general@arkaria.postgresql.org; Thu, 18 Jul 2019 21:23:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hoDrV-0006o5-Di for pgsql-general@arkaria.postgresql.org; Thu, 18 Jul 2019 21:22:49 +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 1hoDrU-0006X4-Rc for pgsql-general@lists.postgresql.org; Thu, 18 Jul 2019 21:22:48 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1hoDrS-0004uv-F1 for pgsql-general@lists.postgresql.org; Thu, 18 Jul 2019 21:22:47 +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 x6ILMcsa015307; Thu, 18 Jul 2019 17:22:38 -0400 From: Tom Lane To: "Kumar, Virendra" cc: Adrian Klaver , "pgsql-general@lists.postgresql.org" Subject: Re: Possible Values of Command Tag in PG Log file In-reply-to: <6d81927f36574137be35cadd91b2e8ce@USFKL11XG20CN01.mercer.com> References: <017631fc00d54ecfa22187907c74e66a@USFKL11XG20CN01.mercer.com> <6d81927f36574137be35cadd91b2e8ce@USFKL11XG20CN01.mercer.com> Comments: In-reply-to "Kumar, Virendra" message dated "Thu, 18 Jul 2019 21:02:51 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <15305.1563484958.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 18 Jul 2019 17:22:38 -0400 Message-ID: <15306.1563484958@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "Kumar, Virendra" writes: > I loaded log file (csv format) into postgres_log table as per below docu= ment and can see entries like: > https://www.postgresql.org/docs/10/runtime-config-logging.html > postgres=3D# select command_tag from postgres_log where command_tag is n= ot null limit 5; > command_tag > ---------------- > authentication > authentication That's actually the "activity" portion of the process status display, which there's no formal specification for. You'd have to root around in the source code looking for set_ps_display() calls if you really want to know. regards, tom lane