Re: pg_stat_*_columns? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pg_stat_*_columns?
Date
Msg-id CA+Tgmoaf3SqTLfns3VXm15KUA7qhsRZgN6QHO5ir7rcRhYCMiw@mail.gmail.com
Whole thread Raw
In response to Re: pg_stat_*_columns?  (Andres Freund <andres@anarazel.de>)
Responses Re: pg_stat_*_columns?  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Should we back-patch SSL renegotiation fixes?
Next
From: Pavel Stehule
Date:
Subject: Re: proposal: row_to_array function