Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1j7Dnx-0004Nc-Cj for pgsql-general@arkaria.postgresql.org; Thu, 27 Feb 2020 07:41:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j7Dnw-00069e-7x for pgsql-general@arkaria.postgresql.org; Thu, 27 Feb 2020 07:41:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j7Dnv-00069X-Nc for pgsql-general@lists.postgresql.org; Thu, 27 Feb 2020 07:41:55 +0000 Received: from sonic314-21.consmr.mail.sg3.yahoo.com ([106.10.240.145]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j7Dns-00016D-OO for pgsql-general@lists.postgresql.org; Thu, 27 Feb 2020 07:41:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1582789307; bh=qiJy4rrLPmxHk619MVJYxb3H9BsC8t2zwePHZmUKBUQ=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=gQbFCm+xtdaRPR0LvcUkbpd4UTkUJltGc6etuKOYCVeq29jta9ZKf9BnmheVYLTHgMQ5e4rg55yXRxVWGkPsaxSLasoxVhSVD2xOepXgbcmxzhDZS3i3xQyV7p3or2CzzriJJ2o4zyouS92cyERaXDgSWMqTMuXluZWh4q+igQD/K/nguZ0m743Oicx3kvWnm7XEgh4MO8Db0P1PguYn/wYpTUzyUfERWyOKV15PWqJHh69/tYMkk5p1BYTGq8coTDDvyU+ukBSj2XZfPZwZNJUjBjCPVoAFDI7OOShcAgeQ+6cNsp+eF7IRW5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HgSzJCM0U7LGb7akuSKU .DuBfed.bJmp0.sxwM5dg0W_dC86q.NMLbbwi.r63aCejDJfQ4nf0ed6GwE_SxbTJXxWoJE.wElg 7F7Rk6cIhxPsyr5E_iYgknf78Tfr1n9C0pQMG._yAWyjVGQL60GqAN5S.CwoUPEqr1RTf.k5Jh6f ATiYe3K0R2TQnP8jQo62q0hJjIdDH0saVQ_kisO5LxHwx92SMj2qc7Hoexs7TjZHCNMlrVcSEZ_H 1hZyCkWgF153lZJsOz4Byj3ABB.Q0kAAnIMl.urk1UkgNg2bGZ1Y0DyHUdwMJ7wTJUCO.OrkyeCB f7E9_t5H9.yepypG3Z9C39aCEU5PE4KOfbpzfOOVA4fgHLDqDlZpDuN6ibgAI25besSrtGBF7KI9 LuNbxt6VNPaDE Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.sg3.yahoo.com with HTTP; Thu, 27 Feb 2020 07:41:47 +0000 Received: by smtp406.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID efbccfc0e5518eb1f703d05d20803a2a; Thu, 27 Feb 2020 07:41:40 +0000 (UTC) X-YMail-OSG: m_1aVHQVM1mIA6XDHDjVum12gsdj7K6103ft2.hQhZQbGnV23YSbAqys8cO18KZ R0D04Z1gbx.QTztBmjFxSCscsypFxsUXBgP6p0J9rxSCdANQzsh5jN9V3UBQ_6HtNdMa6q0uO63N UDTkjPWuB.BbrQ48HepUBYzgochtmovX1kOWZTiXVoxBPJHSq7sjDulXK_1o4aNHEud_cJGJ8.ZM y2iF8uO6DcgYyMProb73MkzikIY45l7VhzpBJGVsAu_Wg.GB9Q0ncyWZav9ophuUzFn1QH8MDQjy PGSFv0G6Xk9zJcsszV4Uzz.x8R3XBwSaddcVWB5IbWsk5XLtkY4uAa4Gb4aRG8_YNSd93ENynaMS PGBrPEOukIgPggBoOQPCzWLjD6lOqF.7OcJbbWoQCi1my9hV99VfizZn18ZOCdR3eDdvEt5ZhHgs 1W9YKo626icz1b68IguA5BUw7v1l.ZY4lkWCH3gPc85YO1pnOYDDx_kv.Y2TYHlJU2WfW8r2ImY0 a3f9knkmBVHQ5a4l3_M9juGMdd8izAQ0dUlVppgCyD2oe71A4snUT153Ag5xOPNzwbSQRQaNowRE 3H1wfSLGOIX5_10MGUZf7WQ8DacJLqpXjyXcs43Xvb0abRSDZgBXlr90YiHLUEYifV3g9wAALnFe fEZJ4ps3MLrlU5s0I_lOZnHA1f7GGbeSkG1E6vELHTZXQOgzRjYgJWnKENQml5MtbFDOsB3nYQJP e6Qqy9925OEW8m_g.FBuWzBaDEE_xQPGcQVFdvQZecsH_Zd1mPonfa32kjA8p3.LIVTsa0z9AZxo Ja6jfeV8YIigTzlXQg_s5l3hXsZGuqPXy6Dl7ZKGUzd8PZT_u7GpktS1e52_MHeaMTePoyYYsomq 048zKkA0I07s2Nn0E5FzrMHPhPScy1c0UNSrTmLYUnPXXOpU3d_d6B06aJNtqChLtyjBM5PYIwhH 7FGuLZzBDYWsRhm_RuPlZIPihkhF801YXu1ePAHzjV3Gbn5zA3iUF.Ul9Sa4WqJwto0maOXJSS4A woVUUYkmaY_cFGSMvlJ50JX7v4Qrov9Hj029X6rW3QI20UzxLTZH2JWd2XFR7DrUTVt7qWD_ypZz Ky1Jdll4d9DX4_FKVPP4dtRNYkZ0AEjF_3h14nXfH5z4JjBUzSasqAtSUGus6PtXJGQQVqEQwc3j EWpkouHBcklssXX0NQtb8HNlkSxQfLn.xezku95f.n_wzt7AVAB2DtaBOsSyi3c48cAlc5yxkWYC u4QEDWIxV4z_da6yWUHZlMD8vGMIIhwRKAZODebN_pou3ksPB9zoiPcKFqOvcOtEhnQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Thu, 27 Feb 2020 07:41:39 +0000 Date: Thu, 27 Feb 2020 07:41:36 +0000 (UTC) From: "sivapostgres@yahoo.com" Reply-To: "sivapostgres@yahoo.com" To: Postgresql General Group Message-ID: <1393516227.2562442.1582789296867@mail.yahoo.com> Subject: Re: Need to find the no. of connections for a database MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2562441_1943004581.1582789296866" References: <1393516227.2562442.1582789296867.ref@mail.yahoo.com> X-Mailer: WebService/1.1.15302 YMailNorrin Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36 Content-Length: 2207 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_2562441_1943004581.1582789296866 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, Before taking a few reports, we need to ensure that only one connection is = made to the database and all other computers need to close the connection t= o that database.=C2=A0 =C2=A0This is to prevent any additional entry(ies) t= hat could be made during the course of the report taking.=C2=A0 This single= -user mode is to be there till the report is taken and few entries are pass= ed.=C2=A0=C2=A0 How to do it?=C2=A0 =C2=A0 Is it possible to switch to single-user mode fro= m application and back to multi-user mode once the work is completed?=C2=A0= Or any other solution available? Happiness AlwaysBKR Sivaprakash ------=_Part_2562441_1943004581.1582789296866 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,
=
Before taking a few report= s, we need to ensure that only one connection is made to the database and a= ll other computers need to close the connection to that database.  &nb= sp;This is to prevent any additional entry(ies) that could be made during t= he course of the report taking.  This single-user mode is to be there = till the report is taken and few entries are passed.  

How to do it?    Is it possible to switch to single-user = mode from application and back to multi-user mode once the work is complete= d?  Or any other solution available?

Happiness Alway= s
BKR Sivaprakash


------=_Part_2562441_1943004581.1582789296866--