Re: Dead code with short varlenas in toast_save_datum()

Nikhil Kumar Veldanda <veldanda.nikhilkumar17@gmail.com>

From: Nikhil Kumar Veldanda <veldanda.nikhilkumar17@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-08-10T10:08:14Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Add isolation test for TOAST value reuse during CLUSTER

  2. Add SQL test for TOAST value allocations on rewrite

  3. Add regression test for short varlenas saved in TOAST relations

Attachments

Hi Michael,

I’m sending a small test-only patch that increases test coverage for
toast_internals.c from 88.5% -> 95.8%.

-- 
Nikhil Veldanda