Обсуждение: BUG #2586: Connecting problem

Поиск
Список
Период
Сортировка

BUG #2586: Connecting problem

От
"Sunil Kumar Basu"
Дата:
The following bug has been logged online:

Bug reference:      2586
Logged by:          Sunil Kumar Basu
Email address:      sunil_basu@yahoo.com
PostgreSQL version: 8.0
Operating system:   Windows XP
Description:        Connecting problem
Details:

Hi,
I am getting connected to the PostgreSQL database installed in PC1 from a
PC2 from a Delphi application using the PSQLDatabase component(PostgresDAC
components). I have furnished the following information-
Databasename
Hostname as the IP of PC1
username
Password

I am getting an EAccessviolation exception occuring with message - "Access
violation at address 77C460CB in mudule msvrct.dll. Read of address
00000000".
And then I get a blank popup with a cross marked in red.
I have also edited the pg_hba configuration file as under-
host    all         all         0.0.0.0       0.0.0.0 trust.
host    all         all         192.168.5.45       md5


And then the postgresql configuration file as-
# - Connection Settings -

#listen_addresses = '*'    # what IP interface(s) to listen on;
                # defaults to localhost, '*' = any
port = 5432
max_connections = 100

Can you help me out?

Re: BUG #2586: Connecting problem

От
"Magnus Hagander"
Дата:
> The following bug has been logged online:
>=20
> Bug reference:      2586
> Logged by:          Sunil Kumar Basu
> Email address:      sunil_basu@yahoo.com
> PostgreSQL version: 8.0
> Operating system:   Windows XP
> Description:        Connecting problem
> Details:
>=20
> Hi,
> I am getting connected to the PostgreSQL database installed in PC1
> from a
> PC2 from a Delphi application using the PSQLDatabase
> component(PostgresDAC components). I have furnished the following
> information- Databasename Hostname as the IP of PC1 username
> Password

Sounds like you need to talk to whomever makes PostgresDAC. What you're
getting is a crash in the client side program, so the problem isn't in
the server - it's either in your program or in the PostgresDAC library.

//Magnus