Re: [GENERAL] PostgreSQL connect error

2009-03-10 Thread devi
Hi Richard, Thanks & it works.. DEVI.G - Original Message - From: "Richard Huxton" To: "devi" Cc: ; Sent: Tuesday, March 10, 2009 3:39 PM Subject: Re: [GENERAL] PostgreSQL connect error devi wrote: Hi , As john suggested, i tried setting up the env .. b

Re: [GENERAL] PostgreSQL connect error

2009-03-10 Thread Richard Huxton
devi wrote: > Hi , > > As john suggested, i tried setting up the env .. but that dosen't help > out. I tried with IP, instead of localhost in pg_hba.conf.. just trail & > error approach... There is no need to use trial and error - this is covered in the manuals: http://www.postgresql.org/docs/cur

Re: [GENERAL] PostgreSQL connect error

2009-03-10 Thread devi
help me out here!! Thanks DEVI.G - Original Message - From: "Thomas Pundt" To: "devi" ; Sent: Tuesday, March 10, 2009 2:53 PM Subject: Re: [GENERAL] PostgreSQL connect error devi schrieb: Hi Friends, I wrote a sample php program that connects to PostgreSQL DB. ==>

Re: [GENERAL] PostgreSQL connect error

2009-03-10 Thread Thomas Pundt
devi schrieb: Hi Friends, I wrote a sample php program that connects to PostgreSQL DB. ==> I was able to run the PHP program from the command prompt as postgres user & not as anyother user $ php pgsql.php ==> I was not able execute the same file from the web browser. FATAL ERRO

Re: [GENERAL] PostgreSQL connect error

2009-03-10 Thread John R Pierce
devi wrote: Hi Friends, I wrote a sample php program that connects to PostgreSQL DB. ==> I was able to run the PHP program from the command prompt as postgres user & not as anyother user $ php pgsql.php ==> I was not able execute the same file from the web browser. FATAL ERROR-

[GENERAL] PostgreSQL connect error

2009-03-10 Thread devi
Hi Friends, I wrote a sample php program that connects to PostgreSQL DB. ==> I was able to run the PHP program from the command prompt as postgres user & not as anyother user $ php pgsql.php ==> I was not able execute the same file from the web browser. FATAL ERROR- undefined functio