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 1rdIcY-004rOw-LP for pgsql-admin@arkaria.postgresql.org; Thu, 22 Feb 2024 23:36:55 +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 1rdIcX-00El7i-50 for pgsql-admin@arkaria.postgresql.org; Thu, 22 Feb 2024 23:36:53 +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 1rdIcW-00El7a-GK for pgsql-admin@lists.postgresql.org; Thu, 22 Feb 2024 23:36:53 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rdIcP-000Pf3-QI for pgsql-admin@lists.postgresql.org; Thu, 22 Feb 2024 23:36:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2024011501; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description; bh=UJo18xRuGUsscrrP/KxKQ7bFPFok7sKB/ZaAzSQ6BH0=; b=HQkR9 fQyYjVrk2HZAf8n2+EBDMXbJnD/Uozn41EuGQKEtMvmqy1rz+uGpFpl9q5DPGW7Hxpvgr2hDRo36S 2OpfEDIH9c/DuwdVsoZWNo+RkV9hbZNyNAs/Dvkj+g0DgL9MAd7/5i17gWvh/QGJ3oSs9CzY8noPa CxC+uQZMQ6x01mOfsFlSc93TFmVRdg6O63wn3rBxc5OUunEJJYhmyRgw5JWt3w3TMNApSCDTQMNCf 75FwwwvQ3F6exW1Vr+YI2j/US35C5oEJn514biuNDn/2LedFPUnWMEoaDZGMnscAja629mqusPDUw HoiKzl4C4wfAfdk7bZ12XMco5B2/g==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1rdIcN-00EGUn-2Q; Thu, 22 Feb 2024 18:36:43 -0500 Date: Thu, 22 Feb 2024 18:36:43 -0500 From: Bruce Momjian To: Lucio Chiessi Cc: PGSql Admin list Subject: Re: Another way to do audit in DML operations in PostgreSQL >= 14 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Feb 22, 2024 at 04:14:24PM -0300, Lucio Chiessi wrote: > As a Fintech company, we MUST audit (by force of law) all DML operations > (select, insert, update, delete) occurring on our PostgreSQL databases. FYI, DML is data manipulation language (DML), and SELECT is not DML. I don't know the answer to your performance question. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.