Re: pg_stat_tmp files for dropped databases - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: pg_stat_tmp files for dropped databases
Date
Msg-id 20140305160512.GL4759@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: pg_stat_tmp files for dropped databases  (Tomas Vondra <tv@fuzzy.cz>)
List pgsql-hackers
Tomas Vondra wrote:
> On 22.2.2014 01:13, Thom Brown wrote:

> > I've noticed that files for dropped databases aren't removed from
> > pg_stat_tmp.  After a cluster-wide VACUUM ANALYSE, and restarting
> > Postgres, all the old database pg_stat_tmp files remain.

> Yeah, that's a bug in pgstat_recv_dropdb() - instead of building path to
> the temporary file (in pg_stat_tmp), it builds a path to the permanent
> file in pg_stat.

Pushed, thanks.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: jsonb and nested hstore
Next
From: Tom Lane
Date:
Subject: Re: jsonb and nested hstore