Re: Slow connection once the PC is network connected - Mailing list pgsql-general

From Pavel Stehule
Subject Re: Slow connection once the PC is network connected
Date
Msg-id AANLkTimPNMUWtjHW8xmrqHXB8s1QXw=T39EOWWms0Kix@mail.gmail.com
Whole thread Raw
In response to Slow connection once the PC is network connected  (Yan Cheng CHEOK <yccheok@yahoo.com>)
List 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@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
>

pgsql-general by date:

Previous
From: Yan Cheng CHEOK
Date:
Subject: Slow connection once the PC is network connected
Next
From: Alban Hertroys
Date:
Subject: Re: Slow connection once the PC is network connected