Re: a few doubts regarding postgres - Mailing list pgsql-general

From Shridhar Daithankar
Subject Re: a few doubts regarding postgres
Date
Msg-id 200502111817.28336.ghodechhap@ghodechhap.net
Whole thread Raw
In response to a few doubts regarding postgres  ("Surabhi Ahuja " <surabhi.ahuja@iiitb.ac.in>)
Responses Re: a few doubts regarding postgres
Re: a few doubts regarding postgres
List pgsql-general
On Friday 11 Feb 2005 6:01 pm, Surabhi Ahuja wrote:
>  does postgres support notifications.
>
> for eg. through one connection to the server, i begin a transaction and i
> do inserts there. in another sessions, i want to get notified that inserts
> are taking place in someother session. please help.

Umm.. out of box, I don't think so. May be some triggers etc. can be placed
for information..Can you describe what you are trying to achieve?

> a few other questions
>
> Q1. is there anyway by which we can give priorities to the transactions?

You need priorities to connections or transactions?

> Q2. is there s concept of connection pool in postgres?

Yes. See pgpool(http://pgfoundry.org/projects/pgpool/)

> Q3. does postgres support multi threading? if yes how?

No. PostgreSQL backend process is single threaded. However each connection
gets a separate backend process. Hence on SMP machines, all available CPUs
can potentially be used for multiple connections.

Regards,
 Shridhar

pgsql-general by date:

Previous
From: "Surabhi Ahuja "
Date:
Subject: a few doubts regarding postgres
Next
From: Richard Huxton
Date:
Subject: Re: a few doubts regarding postgres