revert-0002-revert-mark-position-elog.patch

application/octet-stream

Filename: revert-0002-revert-mark-position-elog.patch
Type: application/octet-stream
Part: 2
Message: Re: Row pattern recognition

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 0002
Subject: Revert window_gettupleslot() mark-position elog to its original message
File+
src/backend/executor/nodeWindowAgg.c 1 2
From 16e6d7476d51185ece31c2b03b899923cf0ebdab Mon Sep 17 00:00:00 2001
From: Henson Choi <assam258@gmail.com>
Date: Sun, 28 Jun 2026 13:26:18 +0900
Subject: [PATCH] Revert window_gettupleslot() mark-position elog to its
 original message

The pos/markpos values added in the RPR branch are split out into a
separate preliminary patch, keeping the RPR diff minimal.
---
 src/backend/executor/nodeWindowAgg.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/backend/executor/nodeWindowAgg.c b/src/backend/executor/nodeWindowAgg.c
index e4e97a6ed95..b1a86fb3a14 100644
--- a/src/backend/executor/nodeWindowAgg.c
+++ b/src/backend/executor/nodeWindowAgg.c
@@ -3570,8 +3570,7 @@ window_gettupleslot(WindowObject winobj, int64 pos, TupleTableSlot *slot)
 		return false;
 
 	if (pos < winobj->markpos)
-		elog(ERROR, "cannot fetch row: " INT64_FORMAT " before WindowObject's mark position: " INT64_FORMAT,
-			 pos, winobj->markpos);
+		elog(ERROR, "cannot fetch row before WindowObject's mark position");
 
 	oldcontext = MemoryContextSwitchTo(winstate->ss.ps.ps_ExprContext->ecxt_per_query_memory);
 
-- 
2.50.1 (Apple Git-155)