Re: Added columns to pg_stat_activity - Mailing list pgsql-patches

From Neil Conway
Subject Re: Added columns to pg_stat_activity
Date
Msg-id 4276C56A.9070105@samurai.com
Whole thread Raw
In response to Added columns to pg_stat_activity  ("Magnus Hagander" <mha@sollentuna.net>)
Responses Re: Added columns to pg_stat_activity
List pgsql-patches
Magnus Hagander wrote:
> * Add session start time and last statement time to pg_stat_activity
>  (we already had last-statement-time, provided command string stats were
> enabled)
> * Add the client IP address and port to pg_stat_activity

Looks pretty good -- barring any objections I'll apply this to HEAD
tomorrow or the day after (there's a room for a bit of cleanup to the
docs, but I'll do that before committing).

> I have tested on Linux (both IPV4 and Unix sockets for the address/port)
> and Win32 (naturally only IPV4).

Do you mean we only support IPv4 under Win32? (There are certainly
versions of Win32 which support IPv6.)

-Neil

pgsql-patches by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Added columns to pg_stat_activity
Next
From: Oliver Jowett
Date:
Subject: Implement support for TCP_KEEPCNT, TCP_KEEPIDLE, TCP_KEEPINTVL (was Re: [HACKERS] Feature freeze date for 8.1)