ROOT + PostgreSQL

Hello,

In our project we would like to use PostreSQL DB for storing some information. I got some troubles with intercommunication with DB server. Here is an example:

root [0] TSQLServer * testpg=TSQLServer::Connect("pgsql://vm01.jinr.ru:5432/#dbname#.#table#", "#login#","#pass#"); Error in <TPgSQLServer::TPgSQLServer>: connection to vm01.jinr.ru failed

No any restriction related with network communication between nodes.

For intercommunication with PostgreSQL using next components on client node:

[quote]postgresql84-8.4.7-1.el5_6.1
postgresql84-devel-8.4.7-1.el5_6.1
postgresql84-libs-8.4.7-1.el5_6.1

ROOT 5.28/00d (tags/v5-28-00d@39145, May 07 2011, 22:11:33 on linuxx8664gcc)
Compiled with postgresql support: (./configure --enable-pgsql)
[/quote]

On server node: [quote]PostgreSQL version 8.4.7 on x86_64-redhat-linux-gnu, compiled by GCC gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-50), 64-bit.[/quote]

Any ideas where is the problem?

Hi,

Did you try a direct connection on the same node using the postgresql client?

Philippe.