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

From Richard Huxton
Subject Re: a few doubts regarding postgres
Date
Msg-id 420CADE5.4090004@archonet.com
Whole thread Raw
In response to a few doubts regarding postgres  ("Surabhi Ahuja " <surabhi.ahuja@iiitb.ac.in>)
List pgsql-general
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.

You might want to look in the manuals for NOTIFY and LISTEN.

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

No. It's not clear that the idea makes sense in general (though it might
for specific examples). You can of course tune settings to favour
inserts over selects, or favour large sorts etc.

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

Google for pgpool by Tatsuo Ishii

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

In the client or the server? Which client? From what point of view?

--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Shridhar Daithankar
Date:
Subject: Re: a few doubts regarding postgres
Next
From: John DeSoi
Date:
Subject: Re: a few doubts regarding postgres