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 1tWBgD-00Ep8A-Bb for pgsql-admin@arkaria.postgresql.org; Fri, 10 Jan 2025 09:51:49 +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 1tWBgC-00EGlV-Gd for pgsql-admin@arkaria.postgresql.org; Fri, 10 Jan 2025 09:51:48 +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 1tWBgC-00EGlJ-3X for pgsql-admin@lists.postgresql.org; Fri, 10 Jan 2025 09:51:47 +0000 Received: from mail-ua1-x936.google.com ([2607:f8b0:4864:20::936]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tWBg8-000sws-1D for pgsql-admin@lists.postgresql.org; Fri, 10 Jan 2025 09:51:47 +0000 Received: by mail-ua1-x936.google.com with SMTP id a1e0cc1a2514c-85c5a91374cso843216241.3 for ; Fri, 10 Jan 2025 01:51:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736502703; x=1737107503; darn=lists.postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=2TtYtK9C/UCl8u5xWEGVai7z1IAV4cb9hyhHlyndnB8=; b=HLRrTVznUtJahrW+ysw7jQcyVr1I6DLUdf5tBQ1oqm1Jw7/AfBsM2f5GM58rJK/49a U/CVzcqhrfTvmRylJFIR0nGOIeMyCNJe3vjMo0daWU5emMGRskOt8fUq1uVdWTITT1Ka 8kMh30Pg9HY4kup8VpptfkHuHM8R7H//tCrlQrc8+XXaZZRE82VT/OAMlCWUa2H4cA+O 5uU0FxjLcUWMo59hlZVAb/F68WFaapT0TOK+JH7NA06lVK03EdzfeKfxzkyuGeigxauJ 2opzs0m+hDDRb3blsyGmerfrYroOmewU4UuZRlnWhn7GzKWfDsk0Pqbq1j1CT0Px3lLw OrGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736502703; x=1737107503; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=2TtYtK9C/UCl8u5xWEGVai7z1IAV4cb9hyhHlyndnB8=; b=eyyWAA0smWK/uybl2duQD0QtmBt6Jlf1DENEZHrmiJYq169cpGrqD8G3335HnwMXS2 nBf5RPfGF20fQ6MM/0gnwIc1JIECBzbfeEo7laxMc/yOziF6QWnEBtJLsqdrn1DSHNIx xp6rnZA8/jnoyQPZQEIvdaNursCEzk8az8216MmcTzebW9yz9ipDyrGBbNu22Q4gQjhj 0DqPQGN+Ly0szAq4Rab9pt1sxX9QPEvGo/CPME5XfJMFKS7d8rbA3K+N7mM0/722Z2cO nWp28F5VK/a6ATiITn+GgzUEpwoxW91gCpYWpcCCCqdyc0kjk9nNLIClyfBfjeEEVHA5 U2Sw== X-Gm-Message-State: AOJu0YwX0FR1PtC7fkKHWq8TM9hkKb05OyAK7aGraxNeFMqPdl4WzMdH mftWpnW44M5Qc3zqoStftDHwz1s74+w1kjmLh2tl9AwBDQQlIElfRjNCLDMvMRTMCCryeA8Vgga HRpNNkIygsxJyaZeMecSyKsZKJouX7amg X-Gm-Gg: ASbGncu68S4iKHv0OzpjBS1krs+UaSmy9idL2K/KnORuSziZd62KvZ4jNY1ffGzlBeY PTd+FbXeVNKPAtU+P71Uho59DA5q5YmHahB3kZ/a+SrJm+36ZA9NaaUWBQFigs5Z4WLPMJaw= X-Google-Smtp-Source: AGHT+IE3pmxi653UfIZ5vpfKSP7EENUdhvnO06mdNymZd35+1VZGNv49f/N61/XBEKSMGZyR4ZWRvsanJcWJc38ghwg= X-Received: by 2002:a05:6102:d89:b0:4b0:c214:fbd6 with SMTP id ada2fe7eead31-4b3d0ee8e97mr9214484137.23.1736502702770; Fri, 10 Jan 2025 01:51:42 -0800 (PST) MIME-Version: 1.0 From: Gambhir Singh Date: Fri, 10 Jan 2025 15:20:57 +0530 X-Gm-Features: AbW1kvaOiU3tyEZRVSDVvwrfPHyQYwH-D35IMrkRm2DfjETNRJ2dWiaI1SSB0eI Message-ID: Subject: Before image of selective columns. To: pgsql-admin@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000c01303062b570ad3" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000c01303062b570ad3 Content-Type: text/plain; charset="UTF-8" Hi, I got a request from my application team that they want the before image of selective columns when any delete occurs in DB. They will use this information for some audit purposes. Also we have CDC configured between on-prem PostgreSQL and Aurora PostgreSQL and certain tables are very large in size and have heavy delete operations on them. Please help me find a way to meet the app team's requirements without impacting CDC. Thanks & Regards Gambhir Singh --000000000000c01303062b570ad3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I got = a request from my application team that they want the before image of selec= tive columns when any delete occurs in DB. They will use this information f= or some audit purposes. Also we have CDC configured between on-prem Postgre= SQL and Aurora PostgreSQL and certain tables are very large in size and hav= e heavy delete operations on them.

Please help me find a way to meet= the app team's requirements without impacting CDC.

Thanks & Regards
Gambhir Singh

--000000000000c01303062b570ad3--