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 1rPm05-00E2RE-Ox for pgsql-general@arkaria.postgresql.org; Tue, 16 Jan 2024 16:09:19 +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 1rPm04-004z4F-5W for pgsql-general@arkaria.postgresql.org; Tue, 16 Jan 2024 16:09:16 +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 1rPlyr-004usX-1F for pgsql-general@lists.postgresql.org; Tue, 16 Jan 2024 16:08:02 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rPlym-0028jq-G8 for pgsql-general@lists.postgresql.org; Tue, 16 Jan 2024 16:08:00 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E71C45C01CC; Tue, 16 Jan 2024 11:07:53 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 16 Jan 2024 11:07:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1705421273; x=1705507673; bh=V6/3x2THZosvapcg2UQuOpW7UjOHf52ZX7CSyw2NBao=; b= NPwuDAYSP28t466sszWMx5oqiICz5Iua3BG9QyG7SodouXVPW++OlWoh/IEvv7Vk YUwBKBTa9FKFmrwXgeXziic3N8L9zP29PZJk7t/X5xrogUVR5Ac/nTHDqC023pqa 6yWTC3b14BBjx1UROfV2Sn7hRlQjCIiU/UXVV3uZZprgiKDn181mnaLGkyZl/BEJ xcHHThgNmnaekoaJfx+y1jjXRf8lZRlWmXZJlxpNUxB3EYOlOGAk6GSyCZKmKSZD 6wrqiQjFPryPbv+GZXs9wBI2aN6aKcI9mNYVl4gXzDxJxp2z0NqlwARd6YAEU8FJ 9uw0rdjqDJZYUeLmak2KhQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1705421273; x= 1705507673; bh=V6/3x2THZosvapcg2UQuOpW7UjOHf52ZX7CSyw2NBao=; b=Q 0lswn6gYZbrUWnPKM76qm8i6adKLEAx6Ov+LeoRNb29/OxjFOcE9sJNeRfbQnxG8 At0o00gcAS6haevtnAz8vjH6zfpBg/Y+Uk3PsZ2irsQlizOcubPq6X57CfTGCNdM xPBIi5+fK4QnEfHH5lCliFk0mQ4rmceqecfz5OVNe7G2fqmlYGwqNRZumays/seR pzuTShBksoJYCH2TXQYrXM0xoMLtvDIXVSF1cb296vvK3UpM8XQZd0Xf7jbtJ+OA aZe2cNQODmTdSIL/mxycV1Mp3pnCZpAGT4MrOaeHZm0S6+DNYWxn74OqZ2g6sUva 9qKnOVYNIdL7arQ4zE2aQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdejfedgkeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepgfdufeekhfevfeelveeiueevhedvuddukeduvddv lefhueeuieejtdeuvdevvdeunecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrgh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughr ihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 16 Jan 2024 11:07:53 -0500 (EST) Message-ID: <40a34680-1583-4cff-86cb-2598be16bb80@aklaver.com> Date: Tue, 16 Jan 2024 08:07:52 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Moving to Postgresql database To: Dominique Devienne , veem v Cc: pgsql-general References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 1/16/24 00:06, Dominique Devienne wrote: > On Mon, Jan 15, 2024 at 5:17 AM veem v > wrote: > > Is any key design/architectural changes should the app development > team [...], should really aware about > > > Hi. One of the biggest pitfall of PostgreSQL, from the app-dev perspective, > is the fact any failed statement fails the whole transaction, with > ROLLBACK as the only recourse. https://www.postgresql.org/docs/current/sql-savepoint.html "SAVEPOINT establishes a new savepoint within the current transaction. A savepoint is a special mark inside a transaction that allows all commands that are executed after it was established to be rolled back, restoring the transaction state to what it was at the time of the savepoint." -- Adrian Klaver adrian.klaver@aklaver.com