@Luiz Eduardo Cantanhede Neri
yep it works, returns 1 here.
@Michael Wood
thank you for the tip.
@Lacey Powers, Tom Lane.
yep, it works very good, thank you. And thanks Lacey for the verbose tip :)
Cheers