Re: pgstat: remove delayed destroy / pipe: socket error fix - Mailing list pgsql-patches

From Tom Lane
Subject Re: pgstat: remove delayed destroy / pipe: socket error fix
Date
Msg-id 26914.1144352666@sss.pgh.pa.us
Whole thread Raw
In response to pgstat: remove delayed destroy / pipe: socket error fix  ("Peter Brant" <Peter.Brant@wicourts.gov>)
List pgsql-patches
"Peter Brant" <Peter.Brant@wicourts.gov> writes:
> Attached are two patches which in combination make pg_stat_activity
> work reliably for us on Windows.
> ...
> pgstat.patch removes the delayed destroy code for backends, databases,
> and tables.  Database and table entries are cleaned up immediately upon
> receipt of the appropriate message.

I'll go ahead and apply the delayed-destroy-removal part (just to HEAD
for the time being --- seems a bit risky to apply it to the stable
branches).  The Windows-specific change sounds like it may need more
review.

            regards, tom lane

pgsql-patches by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: pgstat: remove delayed destroy / pipe: socketerror fix
Next
From: "Magnus Hagander"
Date:
Subject: Re: pgstat: remove delayed destroy / pipe: socket error fix