0001-Initialize-in-place-update-struct.patch
text/x-patch
Filename: 0001-Initialize-in-place-update-struct.patch
Type: text/x-patch
Part: 1
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: format-patch
Series: patch 0001
Subject: Initialize in-place update struct
| File | + | − |
|---|---|---|
| contrib/vci/storage/vci_ros.c | 4 | 0 |
From c9e2625802c9683240b8f80d36594bab22963660 Mon Sep 17 00:00:00 2001 From: Timur Magomedov <t.magomedov@postgrespro.ru> Date: Thu, 25 Sep 2025 17:20:17 +0300 Subject: [PATCH] Initialize in-place update struct Random number of messages in WAL can fail server start otherwise --- contrib/vci/storage/vci_ros.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/vci/storage/vci_ros.c b/contrib/vci/storage/vci_ros.c index bf316fab543..869491c62ba 100644 --- a/contrib/vci/storage/vci_ros.c +++ b/contrib/vci/storage/vci_ros.c @@ -688,6 +688,10 @@ vci_WriteItem(Relation rel, uint32 newlen; xlrec.offnum = offsetNumber; + xlrec.dbId = MyDatabaseId; + xlrec.tsId = MyDatabaseTableSpace; + xlrec.relcacheInitFileInval = false; + xlrec.nmsgs = 0; /* * originally taken from heap_inplace_update() in -- 2.43.0