MCPcopy Create free account
hub / github.com/documentdb/documentdb / extensionrumhandler

Function extensionrumhandler

pg_documentdb/src/index_am/rum.c:275–280  ·  view source on GitHub ↗

* Register the access method for RUM as a custom index handler. * This allows us to create a 'custom' RUM index in the extension. * Today, this is temporary: This is needed until the RUM index supports * a custom configuration function proc for index operator classes. * By registering it here we maintain compatibility with existing GIN implementations. * Once we merge the RUM config changes i

Source from the content-addressed store, hash-verified

273 * Once we merge the RUM config changes into the mainline repo, this can be removed.
274 */
275Datum
276extensionrumhandler(PG_FUNCTION_ARGS)
277{
278 IndexAmRoutine *indexRoutine = GetRumIndexHandler(fcinfo);
279 PG_RETURN_POINTER(indexRoutine);
280}
281
282
283Datum

Callers

nothing calls this directly

Calls 1

GetRumIndexHandlerFunction · 0.85

Tested by

no test coverage detected