Re: Need to find the no. of connections for a database

From: "Ireneusz Pluta/wp(dot)pl" <ipluta(at)wp(dot)pl>
To: "sivapostgres(at)yahoo(dot)com" <sivapostgres(at)yahoo(dot)com>, Pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Need to find the no. of connections for a database
Date: 2020-02-27 12:58:34
Message-ID: 72f62e47-689a-351a-a711-6cfb7312d282@wp.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

W dniu 2020-02-27 o 12:35, sivapostgres(at)yahoo(dot)com pisze:
> I need to prevent other users from entering any transaction till I finish taking reports from my
> application.  All users will be using the same application, from which this report is supposed to
> be printed.
>
maybe advisory lock is what you need?

https://www.postgresql.org/docs/current/explicit-locking.html#ADVISORY-LOCKS

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message sivapostgres@yahoo.com 2020-02-27 13:37:17 Re: Need to find the no. of connections for a database
Previous Message Ravi Krishna 2020-02-27 12:40:30 Re: Need to find the no. of connections for a database