Oleg Bartunov <oleg@sai.msu.su> writes:
>>>> No way, we need to load functions. there are several contributions
>>>> which depends on loaded functions. If you suggest how to do this
>>>> in general way, it would fine. To test GiST you need to define some
>>>> data structure ( in our case - RD-tree) and functions to access it
>>
>> Look at regress/input/create_function_1.source for hints from
>> SPI tests...
Um, you do realize that a contrib module that gets used as part of the
regress tests may as well be mainstream? At least in terms of the
portability requirements it will have to meet?
I'm unhappy again. Bad enough we accepted a new feature during beta;
now we're going to expect an absolutely virgin contrib module to work
everywhere in order to pass regress tests?
regards, tom lane