From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Alvaro Herrera <alvherre(at)commandprompt(dot)com>, PG Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Location for pgstat.stat |
Date: | 2008-08-05 11:45:01 |
Message-ID: | 48983D3D.3060502@hagander.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
> Magnus Hagander <magnus(at)hagander(dot)net> writes:
>> Attached is a patch that implements this. I went with the option of just
>> storing it in a temporary directory that can be symlinked, and not
>> bothering with a GUC for it. Comments? (documentation updates are also
>> needed, but I'll wait with those until I hear patch comments :-P)
>
> Looks alright in a fast once-over (I didn't test it).
That's what I was after. I tested it myself, obviously :-) Not promising
zero bugs, but I was looking for the comment on the approach. So thanks!
> Two comments:
> Treating the directory as something to create in initdb means you'll
> need to bump catversion when you apply it.
Yeah, i meant to do that as part of the commit. But thanks for the
reminder anyway!
> I'm not sure where you are
> planning to document, but there should at least be a mention in the
> "database physical layout" chapter, since that's supposed to enumerate
> all the subdirectories of $PGDATA.
I'm putting it under "configuring the statistics collector". And I'll
add a directory in that section - had missed that.
//Magnus
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2008-08-05 12:19:27 | searching bison guru - grouping sets implementation |
Previous Message | Markus Wanner | 2008-08-05 10:56:19 | Re: Automatic Client Failover |