Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sOcqi-000JAJ-N4 for pgsql-admin@arkaria.postgresql.org; Tue, 02 Jul 2024 12:43:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sOcqg-001gzN-Mw for pgsql-admin@arkaria.postgresql.org; Tue, 02 Jul 2024 12:43:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sOcqg-001gzF-9g for pgsql-admin@lists.postgresql.org; Tue, 02 Jul 2024 12:43:07 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sOcqa-0003RB-GK for pgsql-admin@lists.postgresql.org; Tue, 02 Jul 2024 12:43:06 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id D44F5611E2; Tue, 2 Jul 2024 12:42:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1719924177; bh=JtkODOtYNvdqfvihHNR9OZ8/kcRjfsVpdj1fY0cnzSw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=QNTjB6zsqKgHOCYyXtkmRYAwzvaPT93zx1zQWPEFvDwYnQPpEM9lcOQsl+bIltc0s Z1Cz89r76JEe7HJLrMrqhfDHD/jMib/cPACzZ4jOABezzZt8QkHJk7Upy5Tc94AYdE ApRVeOK6qNiRADyR15sSuC7ANBwh7lJ/I9wA1kTGxhqw5wQ4UHTN3R2cn5hbrp1piH x0Rf11KFjqQMJImYS1W31uOagH1DeQ5+TaIA3rf2e5eeGzw/Vq0saG3YGIchtlWfoy /jHmYYq5XJLTliJIphS3h5fRNLmQxpdsU5yW98N5QU2oVJQ8cEu0O+FbKWNATCH/t4 6Z+RE8Wwa6Seg== X-Virus-Scanned: Debian amavisd-new at emo09-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo09-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nYucpp38L31m; Tue, 2 Jul 2024 12:42:57 +0000 (UTC) Received: from smtpclient.apple (unknown [165.140.184.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 39A4860EBD; Tue, 2 Jul 2024 12:42:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1719924177; bh=JtkODOtYNvdqfvihHNR9OZ8/kcRjfsVpdj1fY0cnzSw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=QNTjB6zsqKgHOCYyXtkmRYAwzvaPT93zx1zQWPEFvDwYnQPpEM9lcOQsl+bIltc0s Z1Cz89r76JEe7HJLrMrqhfDHD/jMib/cPACzZ4jOABezzZt8QkHJk7Upy5Tc94AYdE ApRVeOK6qNiRADyR15sSuC7ANBwh7lJ/I9wA1kTGxhqw5wQ4UHTN3R2cn5hbrp1piH x0Rf11KFjqQMJImYS1W31uOagH1DeQ5+TaIA3rf2e5eeGzw/Vq0saG3YGIchtlWfoy /jHmYYq5XJLTliJIphS3h5fRNLmQxpdsU5yW98N5QU2oVJQ8cEu0O+FbKWNATCH/t4 6Z+RE8Wwa6Seg== Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: Re: Client not able to pick up From: Scott Ribe In-Reply-To: Date: Tue, 2 Jul 2024 06:42:46 -0600 Cc: Pgsql-admin Content-Transfer-Encoding: quoted-printable Message-Id: <177F52B5-FCD8-4EAC-9277-52674A5952F9@elevated-dev.com> References: To: Rajesh Kumar X-Mailer: Apple Mail (2.3774.600.62) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Jul 1, 2024, at 11:57=E2=80=AFPM, Rajesh Kumar = wrote: >=20 > 2. Why client is stucked with the message " cannot execute update in = read only transaction" , eventhough master is up and running. Because a client set a connection to read only, then later that = pgbouncer -> server connection was assigned to a different client. You = have to either: - reset connections in pgbouncer when they are reassigned, which has its = own downsides--see the docs - fix the client so it doesn't leave connections in read only state - have those clients connect directly to PG=