On Tue, Jun 23, 2015 at 3:47 PM, Andres Freund <andres@anarazel.de> wrote:
> On 2015-06-22 21:05:52 -0400, Robert Haas wrote:
>> Interesting idea. We could consider the set of stats files a database
>> unto itself and reserve a low-numbered OID for it. The obvious thing
>> to do is use the database's OID as the relfilenode, but then how do
>> you replace the stats file?
>
> The relmapper infrastructure should be able to take care of that.
How? I think it assumes that the number of mapped entries is pretty small.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company