Re: Multiple backend connections

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: Paul M Foster <paulf(at)quillandmouse(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Multiple backend connections
Date: 2003-03-19 23:39:06
Message-ID: m3znnr7wpx.fsf@varsoon.wireboard.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Paul M Foster <paulf(at)quillandmouse(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Daniel R. Anderson 2003-03-19 23:40:40 Is SSL compiled in by default?
Previous Message Paul M Foster 2003-03-19 23:14:24 Multiple backend connections