Bhuvan,
> How can we connect to different database using plpgsql function? Can> we?
No, you can't.
-Josh