On Sat, Feb 13, 2010 at 01:31:44PM -0500, Robert Haas wrote: > On Sat, Feb 13, 2010 at 1:28 PM, Tom Lane <t...@sss.pgh.pa.us> wrote: > > Teodor Sigaev <teo...@sigaev.ru> writes: > >> I see your point. May be it's better to introduce new system table? > >> pg_amorderop > >> to store ordering operations for index. > > > > We could, but that approach doesn't scale to wanting more categories > > in the future --- you're essentially decreeing that every new category > > of opclass-associated operator will require a new system catalog, > > along with all the infrastructure needed for that. That guarantees > > that the temptation to take shortcuts will remain high. > > Yeah. PFA a patch to allow 5-key syscaches.
(Realizing I'm a lurker in this conversation, and hoping not to ask irritating questions) Do we need to rename SearchSysCache et al. to SearchSysCache1, etc.? It seems to me that requires changes to all kinds of software without any real need. The four lines of PL/LOLCODE that inspired this thought aren't themselves a great burden, but when combined with everyone else using SearchSysCache already... -- Joshua Tolley / eggyknap End Point Corporation http://www.endpoint.com
signature.asc
Description: Digital signature