Hi Egon, is access to you pgsql server unprotected, if not you have to pass a username and passwd in the last two arguments of Connect(). Cheers, Fons. On Thu, 2003-10-23 at 14:29, Egon Pavlica wrote: > Hello, > i am trying to connect to postgresql server on my redhat linux 9 machine > using TSQLServer::Connect("pgsql://hostname/archivename","","") from root > interactive but with no success: > root [2] TSQLServer::Connect("pgsql://bilje/arhiv2002","","") > Error in <TPgSQLServer::TPgSQLServer>: connection to bilje failed > (class TSQLServer*)0x8789658 > root [3] > > I have found no documentation about TSQLServer, are there anything, that > would resolve my problem... > ------------------------------------------ > Egon Pavlica e-mail:egon.pavlica@p-ng.si > ------------------------------------------ -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://www.rademakers.org/fons/ Fax: +41 22 7679480
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET