On 10/27/06, Purusothaman A <purusothaman(dot)a(at)gmail(dot)com> wrote:
> Thanks for all of your valuable replies.
>
> Please tell me, what should i do to login with syntax
>
> psql -Uusername -h192.168.2.2 -dusername(database name).
>
> Because I should be able to login from any login and also from any system.
Set up your pg_hba.conf file to what you need.
I have a small article about this on my site:
http://www.designmagick.com/article/4/
The postgres documentation is here:
http://www.postgresql.org/docs/current/static/client-authentication.html
--
Postgresql & php tutorials
http://www.designmagick.com/