Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nhGyn-0006On-K6 for pgsql-general@arkaria.postgresql.org; Wed, 20 Apr 2022 20:31:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nhGym-0002Pb-4t for pgsql-general@arkaria.postgresql.org; Wed, 20 Apr 2022 20:31:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nhGyl-0002O9-OF for pgsql-general@lists.postgresql.org; Wed, 20 Apr 2022 20:31:11 +0000 Received: from smtp.vivaldi.net ([31.209.137.12]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nhGyg-0003Z4-7J for pgsql-general@lists.postgresql.org; Wed, 20 Apr 2022 20:31:10 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp.vivaldi.net (Postfix) with ESMTP id 7DD3ABD3C8 for ; Wed, 20 Apr 2022 20:31:03 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.vivaldi.net 7DD3ABD3C8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivaldi.net; s=default; t=1650486663; bh=ubEyGp1ORz4KchBFY3jR/U/zBoXK9mJy+20ukOb8fX4=; h=Date:From:To:Subject:In-Reply-To:References:From; b=lT66IhJy+eukvLPTTzuVUU06Ku/J9p6w5bs9J15/WqhczVKumx7T6ohzGJ7aWTyhx uGyl8Mne1TciY4xOVyTql6dgTPk4qaZ1nZvsTK3f9sJccurcPhKF0MzqRuUi/boJZF b4q1FgPEBXiejJA+KwNNPVna3x8NOJkeJPO9x1ClcksBXlRLGU6xMmT5hYtk1AvnpZ fXmAKjjSaGlniayfcVKG5gkjhfXVr2xO8AMIPcpBawYKB2IyPyCdhl8zHsMmJg5uOk ir7BsbzRp8NJFNFozpyAGJwJBIx9QppJ44tyrLlvMgfSYAtD4xNB0I7VJMj0+ioEpk LxtgDvQHC8mHw== X-Virus-Scanned: Debian amavisd-new at smtp.vivaldi.net Received: from smtp.vivaldi.net ([127.0.0.1]) by localhost (mxo.viv.dc01 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H5zK45fGyDz1 for ; Wed, 20 Apr 2022 20:31:01 +0000 (UTC) Date: Wed, 20 Apr 2022 16:31:01 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.vivaldi.net 840B6BD3B5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivaldi.net; s=default; t=1650486661; bh=ubEyGp1ORz4KchBFY3jR/U/zBoXK9mJy+20ukOb8fX4=; h=Date:From:To:Subject:In-Reply-To:References:From; b=nLtn/GL1JrHYJspcqPEt7UslmvY5EbfrAcGqcK5VKporKS441sENOqFti/hLtrk4+ eLx9Du7q0Nh1gzT30tzUSblgEGj6Hi4qk23e9eLApSVWnq30TmvGZUPcjgiMJpo7t9 RHirj/C+3hB9Y+UcKPsMYshx0+SYKHNWiCXoq3GqZc1i1vmZASAE/QTcJGCPhPG69v yNxIv31435y2gzPNCwNL3iZ9wgoWvzHgw6nu8u3iC2h0uDWHxQgHXipRNDGrnxLPA2 QLedKF94Nwqzn1WLmLDnxrTXI2fptoCQox1MuynLJTysjeVSTsL12vo7xqq6DKdPaM NQEQfwB+Uo6kQ== From: Ravi Krishna To: pgsql-general@lists.postgresql.org Subject: Re: Are stored procedures/triggers common in your industry In-Reply-To: <1D9B083B-8C41-4BB1-9A30-5ED2799AE963@gmail.com> References: <1D9B083B-8C41-4BB1-9A30-5ED2799AE963@gmail.com> Message-ID: <232ad0e0ea7db71155096a983b27e7b6@vivaldi.net> X-Sender: srkrishna@vivaldi.net Content-Type: multipart/alternative; boundary="=_e157c10f2624e2a839295497dbbc3ede" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --=_e157c10f2624e2a839295497dbbc3ede Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed > I've really only ever worked in web development. 90+% of web > developers regard doing anything at all clever in the database with > suspicion. One common argument they use is that if you write your business logic in stored procedure, you are locked to that database since stored procedure languages are pretty much vendor locked. TBH when one sees tens of thousands of Oracle PL/SQL code, there is some truth in this. --=_e157c10f2624e2a839295497dbbc3ede Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

>I've really only ever worked in web devel= opment. 90+% of web
>developers regard doing anything at all clever= in the database with suspicion.

One common argument they use is that if you write your business lo= gic in stored procedure, you are locked to that database since stored proce= dure languages are pretty much vendor locked.

TBH when one sees tens of thousands of Oracle PL/SQL code, there i= s some truth in this.

--=_e157c10f2624e2a839295497dbbc3ede--