Re: Superuser log-in through a web interface? - Mailing list pgsql-general

From Ken Tozier
Subject Re: Superuser log-in through a web interface?
Date
Msg-id 0F85570F-2B27-11D9-B070-003065F300E2@comcast.net
Whole thread Raw
In response to Re: Superuser log-in through a web interface?  (Kevin Barnard <kevin.barnard@gmail.com>)
Responses Re: Superuser log-in through a web interface?  (Vinko Vrsalovic <el@vinko.cl>)
List pgsql-general
On Oct 31, 2004, at 1:29 AM, Kevin Barnard wrote:

> You have a conceptual error.  When connecting you are connecting "to a
> database".  With out the database you are not connecting to anything
> hence the failure.

That explains it, thanks.

Another pesky problem I've run into is that I can enter literally
anything into the user name and password fields of my php form and it
still logs in. What's up with that? Is there some way find out the user
for a given connection?

I tried to use pg_user and pg_shadow but neither of them registered as
valid functions in the PHP code.


pgsql-general by date:

Previous
From: "Philippe Lang"
Date:
Subject: Re: ms access app ?
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Reasoning behind process instead of thread based