pg_connect(): ...Too many open links (0)
am 15.09.2003 14:18:48 von James Ward
Hi all,
I've searched high and low on the web and the group for the following error:
pg_connect(): Cannot create new link. Too many open links (0)
I have checked phpinfo and it says max_links is unlimited, and so is
max_persistent.
It's got to be something obvious - but I can't see it.
How can I have too many links open if this is the first one!?!
I'm running postgres 7.3.4 and php 4.3.3.
I can access the database using pgAdmin - so I don't think it isn't a
permissions problem. I've got tcp/ip access enabled.
All help appreciated,
James
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match
Re: pg_connect(): ...Too many open links (0)
am 15.09.2003 14:21:06 von James Ward
And for info the command I'm using is:
$postgres = pg_connect("host=localhost port=5432 dbname=hector
user=hector");
James
James Ward wrote:
> Hi all,
> I've searched high and low on the web and the group for the following
> error:
>
> pg_connect(): Cannot create new link. Too many open links (0)
>
> I have checked phpinfo and it says max_links is unlimited, and so is
> max_persistent.
>
> It's got to be something obvious - but I can't see it.
>
> How can I have too many links open if this is the first one!?!
>
> I'm running postgres 7.3.4 and php 4.3.3.
>
> I can access the database using pgAdmin - so I don't think it isn't a
> permissions problem. I've got tcp/ip access enabled.
>
> All help appreciated,
> James
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)