Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> writes:> You need to read documentation ! rank_cd accepts the same args as rank()> function.
Nonetheless, dumping core on bad input is not acceptable behavior ...
regards, tom lane