Thread: Re: [PHP] sql commands

Re: [PHP] sql commands

From
"Dave Page"
Date:

> -----Original Message-----
> From: Rod Taylor [mailto:rbt@zort.ca]
> Sent: 02 May 2002 16:57
> To: P. Jourdan
> Cc: pgsql-php@postgresql.org; pgadmin-hackers@postgresql.org
> Subject: Re: [pgadmin-hackers] [PHP] sql commands
>
>
> [cross posting to pgadmin-hackers]
>
> That makes sense, except pgAdmin shouldn't try to connect to
> a database marked that it doesn't accept connections.

The current pgAdmin dev code is much cleverer than it was in v1.2.0. It
doesn't connect to any database (except the master DB - normally
template1) until the user tries to access it, and it also doesn't even
try to connect to any database marked pg_database.datallowconn = False.

Regards, Dave.


Re: [PHP] sql commands

From
"Rod Taylor"
Date:
Spiffy...
--
Rod
----- Original Message -----
From: "Dave Page" <dpage@vale-housing.co.uk>
To: "Rod Taylor" <rbt@zort.ca>; "P. Jourdan" <pippo@videotron.ca>
Cc: <pgsql-php@postgresql.org>; <pgadmin-hackers@postgresql.org>
Sent: Thursday, May 02, 2002 4:38 PM
Subject: Re: [pgadmin-hackers] [PHP] sql commands


>
>
> > -----Original Message-----
> > From: Rod Taylor [mailto:rbt@zort.ca]
> > Sent: 02 May 2002 16:57
> > To: P. Jourdan
> > Cc: pgsql-php@postgresql.org; pgadmin-hackers@postgresql.org
> > Subject: Re: [pgadmin-hackers] [PHP] sql commands
> >
> >
> > [cross posting to pgadmin-hackers]
> >
> > That makes sense, except pgAdmin shouldn't try to connect to
> > a database marked that it doesn't accept connections.
>
> The current pgAdmin dev code is much cleverer than it was in v1.2.0.
It
> doesn't connect to any database (except the master DB - normally
> template1) until the user tries to access it, and it also doesn't
even
> try to connect to any database marked pg_database.datallowconn =
False.
>
> Regards, Dave.
>
>
> ---------------------------(end of
broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>