Re: [HACKERS] Dynamically adding index types (was GIT indexes)

2007-09-21 Thread Simon Riggs
On Wed, 2007-09-19 at 10:37 -0400, Tom Lane wrote: > Simon Riggs <[EMAIL PROTECTED]> writes: > > We're able to dynamically add AMs in the way you suggest, but there is > > no way to alter the RMgrTable to either add a new RM or re-assign one of > > the unused RMs. > > Hmmm... > > 1. Remove the "

Re: [HACKERS] Dynamically adding index types (was GIT indexes)

2007-09-19 Thread Tom Lane
Simon Riggs <[EMAIL PROTECTED]> writes: > We're able to dynamically add AMs in the way you suggest, but there is > no way to alter the RMgrTable to either add a new RM or re-assign one of > the unused RMs. Hmmm... > 1. Remove the "Const" in front of RmgrTable in rmgr.c. That would allow > re-assi

[HACKERS] Dynamically adding index types (was GIT indexes)

2007-09-19 Thread Simon Riggs
On Tue, 2007-08-07 at 17:03 -0400, Tom Lane wrote: > "Simon Riggs" <[EMAIL PROTECTED]> writes: > > How hard will it be to add the infrastructure to allow new index types > > to be added to the server dynamically? > > INSERT INTO pg_am VALUES (...); > > I don't really think we need more than that,