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 1ruAO2-0036Sy-14 for pgsql-admin@arkaria.postgresql.org; Tue, 09 Apr 2024 12:15:38 +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 1ruAO0-004GPP-Tt for pgsql-admin@arkaria.postgresql.org; Tue, 09 Apr 2024 12:15:36 +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 1ruAO0-004GPH-DU for pgsql-admin@lists.postgresql.org; Tue, 09 Apr 2024 12:15:36 +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 1ruANy-00012z-1O for pgsql-admin@lists.postgresql.org; Tue, 09 Apr 2024 12:15:35 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id EE7A1657B1; Tue, 9 Apr 2024 12:15:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1712664931; bh=iG78ajfjI4tGkb1FRkWlhKpOX0cgyVXIaviX5/YZbkw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=DFal2hjCvEfltYbp2Nfrj6cL4IbEdx2L311Raw2j8CKOc2eoHRyYzfdwIfjPFQjVG wnM6GNmOkhvNIBaGSc9FS2ro5QKm27wKIIcEKjAtY7BiMQ7B8b8cmJn9pbFiOcDcO6 fvRS5GEx9seTsfD8B0iQdvLXrkHDU+WN9HFFaksvXPsBRxqNpZAdSZnwcrK5QKeUQC QoQToUvM6NNUS/6INCKTxPuQtKcwBfIPQiHBalY2BjL2KNLtOwv5iAKtqhisDhw7Z4 +CRTmijE8TvHOLDf/x4d4ESNTFK6XJhdckS/gwf096PO/CBATq7rzXm+KpWd34Y41Z uLmYAx8t3J97g== X-Virus-Scanned: Debian amavisd-new at emo07-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo07-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i1bocIS3Szsz; Tue, 9 Apr 2024 12:15:31 +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 67B92640CD; Tue, 9 Apr 2024 12:15:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1712664931; bh=iG78ajfjI4tGkb1FRkWlhKpOX0cgyVXIaviX5/YZbkw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=DFal2hjCvEfltYbp2Nfrj6cL4IbEdx2L311Raw2j8CKOc2eoHRyYzfdwIfjPFQjVG wnM6GNmOkhvNIBaGSc9FS2ro5QKm27wKIIcEKjAtY7BiMQ7B8b8cmJn9pbFiOcDcO6 fvRS5GEx9seTsfD8B0iQdvLXrkHDU+WN9HFFaksvXPsBRxqNpZAdSZnwcrK5QKeUQC QoQToUvM6NNUS/6INCKTxPuQtKcwBfIPQiHBalY2BjL2KNLtOwv5iAKtqhisDhw7Z4 +CRTmijE8TvHOLDf/x4d4ESNTFK6XJhdckS/gwf096PO/CBATq7rzXm+KpWd34Y41Z uLmYAx8t3J97g== Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Subject: Re: Auditing in Postgres From: Scott Ribe In-Reply-To: Date: Tue, 9 Apr 2024 06:15:20 -0600 Cc: pgsql-admin@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Tejaswi K T X-Mailer: Apple Mail (2.3774.500.171.1.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > Do we have similar commands in pgaudit , which captures only failed = DML and not the successful ones.=20 Not in pgaudit. Just in the standard PG config, in the logging section, = you can choose if/how errors are logged. Not at the granularity of your = example, but you can log all errors, then in your monitoring filter and = classify them.=