[PATCH] Remove dead code in pgcrypto

From: Aleksander Alekseev <aleksander(at)tigerdata(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: [PATCH] Remove dead code in pgcrypto
Date: 2026-08-13 10:24:12
Message-ID: CAJ7c6TNmHnnCkn3uZwRUE7WWYftW--48JFoDVDqoZqMrLYxUZw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I noticed that PGP_Context.mdc_checked field is write-only and not
used for anything. Since it's marked as an internal variable I'm
pretty confident it's safe to remove it. The patch is attached.

--
Best regards,
Aleksander Alekseev

Attachment Content-Type Size
v1-0001-pgcrypto-remove-unused-PGP_Context.mdc_checked-fi.patch text/x-patch 1.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Erik Nordström 2026-08-13 10:44:59 Re: Batching in executor
Previous Message Daniel Gustafsson 2026-08-13 10:17:16 Re: pg_control_checkpoint(): add "data_checksum_version" (Pg19)?