<drevil(at)sidereal(dot)kz> writes:> When I try this function:> it always returns NULL.
Are you passing any arguments that are NULL?
regards, tom lane