add test for exten_by_name when extension is not found
optimize exten_by_name

Filter on the server side, not on the client side.
Merge remote-tracking branch 'origin/ctid-optimization'