Hello
check your dns service, first. second try to use IP address instead host name
Regards
Pavel Stehule
2010/10/26 Yan Cheng CHEOK <yccheok@yahoo.com>:
> Hello, I am deploying a database to customer PC, which will be only connected by local application.
>
> However, I realize once the PC is network connected, the connection take extremely long time (around 10 seconds)
>
> May I know why this happen? I was wondering whether is there any workaround to overcome this?
>
> I connect the database using C++ code
>
> PQconnectdb("dbname = ProductionFactory user = postgres password = password");
>
> Thanks.
>
> Thanks and Regards
> Yan Cheng CHEOK
>
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>