Location for pgstat.stat - Mailing list pgsql-hackers

From Magnus Hagander
Subject Location for pgstat.stat
Date
Msg-id 486A7C09.2060301@hagander.net
Whole thread Raw
Responses Re: Location for pgstat.stat  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Per this thread:
http://archives.postgresql.org/pgsql-general/2007-12/msg00255.php

it was pretty much (again, IIRC) concluded that we want "some better
way" to transfer the stats data.

But pending that we have that, how about we just move it into it's own
subdirectory? AFAICS that would be a simple change of two #defines
moving it from "global/pgstat.stat" to "pgstat/pgstat.stat" or something
like that. Might also need some code to create the directory if it
doesn't exist, but that shouldn't be hard.

This would make it possible to symlink or mount that directory off to a
ramdrive (for example).

It's not a perfect solution, but it would at least give a better tool
than we have today, no?

//Magnus


pgsql-hackers by date:

Previous
From: Shane Ambler
Date:
Subject: Re: A new take on the foot-gun meme
Next
From: Tom Lane
Date:
Subject: Re: Fairly serious bug induced by latest guc enum changes