Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f1GIxrx42982 for ; Fri, 16 Feb 2001 13:59:53 -0500 (EST) (envelope-from pgsql-admin-owner@postgresql.org) Received: from hotmail.com (f181.law14.hotmail.com [64.4.21.181]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f1F4Wsx19486 for ; Wed, 14 Feb 2001 23:32:55 -0500 (EST) (envelope-from jhck81@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 14 Feb 2001 20:32:50 -0800 Received: from 203.52.20.165 by lw14fd.law14.hotmail.msn.com with HTTP; Thu, 15 Feb 2001 04:32:49 GMT X-Originating-IP: [203.52.20.165] From: "jeff kuo" To: pgsql-admin@postgresql.org Subject: variable question with postgresql Date: Thu, 15 Feb 2001 12:32:49 +0800 Mime-Version: 1.0 Content-Type: text/html Message-ID: X-OriginalArrivalTime: 15 Feb 2001 04:32:50.0081 (UTC) FILETIME=[5A88A110:01C09708] X-Archive-Number: 200102/109 X-Sequence-Number: 709
hi, all
I am using phpPgAdmin to create tables and fields, and how do I use SET variables to defind a title, eg. Mr. Miss. Mrs.
 
Another question, when I use the pg_connect("localhost","","","","dbname"); to connect to a the database, the server returns this message
 
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'?
 
and when I chage to pg_connect("","","","","dbname");
return this message
Unable to connect to PostgreSQL server: FATAL 1: SetUserId: user 'www-data' is not in 'pg_shadow'
 
can anyone please tell me why !? thank you very much
 
Jeff K.
 


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.