Обсуждение: multiple database connections

Поиск
Список
Период
Сортировка

multiple database connections

От
Rafiqul Haque
Дата:
Hi,

I am a newbie in postgres. I need to create 8 connections on the same postgres server. Could anyone please tell me how to start multiple connection on the same postgres server. I am using windows operating system.


Regards,
Rafiq

Re: multiple database connections

От
Scott Ribe
Дата:
On Jan 28, 2014, at 5:53 AM, Rafiqul Haque <rafiq.ced@gmail.com> wrote:

> I am a newbie in postgres. I need to create 8 connections on the same postgres server. Could anyone please tell me
howto start multiple connection on the same postgres server. I am using windows operating system.  

You just connect. 8 times. (You can configure the max number of connections allowed in postgresql.conf, but the default
issubstantially higher than 8.) 

If you're actually having a problem, you'll have to tell us more: what kind of connection via what software, and what
isthe problem. 

--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice






Re: multiple database connections

От
Luca Ferrari
Дата:
On Tue, Jan 28, 2014 at 1:53 PM, Rafiqul Haque <rafiq.ced@gmail.com> wrote:
> Hi,
>
> I am a newbie in postgres. I need to create 8 connections on the same
> postgres server. Could anyone please tell me how to start multiple
> connection on the same postgres server. I am using windows operating system.
>

I suppose that the fast answer "opening 8 command prompts and running
psql" does not satisfy you. What is the aim?
Is scripting or doing a launcher program an option?

Luca