From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | Yan Cheng CHEOK <yccheok(at)yahoo(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Slow connection once the PC is network connected |
Date: | 2010-10-26 09:59:43 |
Message-ID: | AANLkTimPNMUWtjHW8xmrqHXB8s1QXw=T39EOWWms0Kix@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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(at)yahoo(dot)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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
From | Date | Subject | |
---|---|---|---|
Next Message | Alban Hertroys | 2010-10-26 10:01:39 | Re: Slow connection once the PC is network connected |
Previous Message | Yan Cheng CHEOK | 2010-10-26 09:39:29 | Slow connection once the PC is network connected |