From: jeff kuo <jhck81@hotmail.com>
To: pgsql-admin@postgresql.org
Subject: variable question with postgresql
Date: Thu, 15 Feb 2001 12:32:49 +0800
Message-ID: <F181Eb6MXb0zrAXBirb00001e17@hotmail.com> (raw)
<html><DIV>
<DIV>
<DIV>hi, all</DIV>
<DIV>I am using phpPgAdmin to create tables and fields, and how do I use SET variables to defind a 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>Unable to connect to PostgreSQL server: connectDB() -- connect() failed: Connection refused Is the postmaster running (with -i) at 'localhost' and accepting connections on TCP/IP port '5432'? </DIV>
<DIV> </DIV>
<DIV>and when I chage to pg_connect("","","","","dbname");</DIV>
<DIV>return this message</DIV>
<DIV>Unable to connect to PostgreSQL server: FATAL 1: SetUserId: user 'www-data' is not in 'pg_shadow' </DIV>
<DIV> </DIV>
<DIV>can anyone please tell me why !? thank you very much</DIV>
<DIV> </DIV>
<DIV>Jeff K.</DIV>
<DIV> </DIV></DIV></DIV><br clear=all><hr>Get Your Private, Free E-mail from MSN Hotmail at <a href="http://www.hotmail.com">http://www.hotmail.com</a>.<br></p></html;
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jhck81@hotmail.com
Subject: Re: variable question with postgresql
In-Reply-To: <F181Eb6MXb0zrAXBirb00001e17@hotmail.com>
References: <F181Eb6MXb0zrAXBirb00001e17@hotmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox