variable question with postgresql - Mailing list pgsql-admin

From jeff kuo
Subject variable question with postgresql
Date
Msg-id F181Eb6MXb0zrAXBirb00001e17@hotmail.com
Whole thread Raw
Responses Re: variable question with postgresql  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-admin
<div><div><div>hi, all</div><div>I am using phpPgAdmin to create tables and fields, and how do I use SET variables to
definda title, eg. Mr. Miss. Mrs.</div><div> </div><div>Another question, when I use the
pg_connect("localhost","","","","dbname");to connect to a the database, the server returns this message
</div><div> </div><div>Unableto connect to PostgreSQL server: connectDB() -- connect() failed: Connection refused Is
thepostmaster running (with -i) at 'localhost' and accepting connections on TCP/IP port '5432'?
</div><div> </div><div>andwhen I chage to pg_connect("","","","","dbname");</div><div>return this
message</div><div>Unableto connect to PostgreSQL server: FATAL 1: SetUserId: user 'www-data' is not in 'pg_shadow'
</div><div> </div><div>can anyoneplease tell me why !? thank you very much</div><div> </div><div>Jeff
K.</div><div> </div></div></div><brclear="all" /><hr />Get Your Private, Free E-mail from MSN Hotmail at <a
href="http://www.hotmail.com">http://www.hotmail.com</a>.<br/> 

pgsql-admin by date:

Previous
From: "Schmidt, Peter"
Date:
Subject: RE: v7.1b4 bad performance
Next
From: Bruce Momjian
Date:
Subject: Re: v7.1b4 bad performance