pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kumar, Virendra <Virendra.Kumar@guycarp.com>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Possible Values of Command Tag in PG Log file
Date: Thu, 18 Jul 2019 17:22:38 -0400
Message-ID: <15306.1563484958@sss.pgh.pa.us> (raw)
In-Reply-To: <6d81927f36574137be35cadd91b2e8ce@USFKL11XG20CN01.mercer.com>
References: <017631fc00d54ecfa22187907c74e66a@USFKL11XG20CN01.mercer.com>
	<d697d159-19d8-ea7c-4ad0-f72d2249d6e8@aklaver.com>
	<6d81927f36574137be35cadd91b2e8ce@USFKL11XG20CN01.mercer.com>

"Kumar, Virendra" <Virendra.Kumar@guycarp.com> writes:
> I loaded log file (csv format) into postgres_log table as per below document and can see entries like:
> https://www.postgresql.org/docs/10/runtime-config-logging.html

> postgres=# select command_tag from postgres_log where command_tag is not 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





view thread (6+ messages)

Message-ID: <15306.1563484958@sss.pgh.pa.us>
Permalink:  ../15306.1563484958@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15306.1563484958@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Virendra.Kumar@guycarp.com, adrian.klaver@aklaver.com
  Subject: Re: Possible Values of Command Tag in PG Log file
  In-Reply-To: <15306.1563484958@sss.pgh.pa.us>
  References: <017631fc00d54ecfa22187907c74e66a@USFKL11XG20CN01.mercer.com> <d697d159-19d8-ea7c-4ad0-f72d2249d6e8@aklaver.com> <6d81927f36574137be35cadd91b2e8ce@USFKL11XG20CN01.mercer.com> <15306.1563484958@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox