Re: Multiple backend connections - Mailing list pgsql-general

From Doug McNaught
Subject Re: Multiple backend connections
Date
Msg-id m3znnr7wpx.fsf@varsoon.wireboard.com
Whole thread Raw
In response to Multiple backend connections  (Paul M Foster <paulf@quillandmouse.com>)
Responses Re: Multiple backend connections  (Paul M Foster <paulf@quillandmouse.com>)
List pgsql-general
Paul M Foster <paulf@quillandmouse.com> writes:

> I've written code to connect to and/or create databases in C. To check
> my work, I'll open up psql in another console. But if I'm connected to
> the default database (template1), and attempt to connect to that
> database in my C program, it fails.

This shouldn't happen, unless you're at your connection limit for
Postgres (32 by default), or running out of kernel file descriptors or
something.

What is the exact error you're getting in the C program?

-Doug

pgsql-general by date:

Previous
From: Paul M Foster
Date:
Subject: Multiple backend connections
Next
From: "Nigel J. Andrews"
Date:
Subject: Re: Multiple backend connections