requiring a password to connect

From: "charlie derr" <wrong(at)crosswinds(dot)net>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: requiring a password to connect
Date: 2001-06-27 11:44:32
Message-ID: NFBBIFIPMKEPOMKBACKIOEPNDAAA.wrong@crosswinds.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi all,

I am using postgresql in conjunction with php. The following code works to
establish a database connection:

$db = pgConnect("dbname=mydb user=myuser");

I would prefer it if this would fail to connect. Is there a command line
switch I can use to start the postmaster that will require a password to be
passed in the connection string? Or do I need to recompile postgresql with
a particular option to achieve the desired behavior? I have experienced the
above on 6.5.3, 7.0.2 and 7.1.2.

Thank you very much for your time,
~c

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message charlie derr 2001-06-27 12:25:53 RE: requiring a password to connect
Previous Message Paul Andre 2001-06-26 14:48:18 RE: Hard limit on result handles reached ...