Re: Possible Values of Command Tag in PG Log file - Mailing list pgsql-general

From Tom Lane
Subject Re: Possible Values of Command Tag in PG Log file
Date
Msg-id 15306.1563484958@sss.pgh.pa.us
Whole thread Raw
In response to RE: Possible Values of Command Tag in PG Log file  ("Kumar, Virendra" <Virendra.Kumar@guycarp.com>)
List pgsql-general
"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



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Possible Values of Command Tag in PG Log file
Next
From: "Elaina Gerhold"
Date:
Subject: Payroll Potential Business Lead