diff --git a/src/test/modules/test_extensible/test_extensible.c b/src/test/modules/test_extensible/test_extensible.c index d7710eee41b..ac4cdef28c2 100644 --- a/src/test/modules/test_extensible/test_extensible.c +++ b/src/test/modules/test_extensible/test_extensible.c @@ -14,6 +14,7 @@ */ #include "postgres.h" +#include "access/reloptions.h" #include "access/table.h" #include "access/tableam.h" #include "executor/executor.h" @@ -675,6 +676,10 @@ _PG_init(void) /* Register the extensible node type */ RegisterExtensibleNodeMethods(&test_ext_node_methods); + add_int_reloption(RELOPT_KIND_HEAP, "repeat_count", + "Times each row is returned by the test custom scan", + 2, 1, 100, AccessExclusiveLock); + DefineCustomIntVariable("test_extensible.repeat_count", "Number of times the custom scan returns each row.", NULL,