pg.ddx.io pgpartman/pg_partman GitHub issues and pull requests
help / color / mirror / Atom feedFrom: zoorcool (@zoorcool) <noreply+zoorcool@github.com>
To: pgpartman/pg_partman <noreply+pgpartman-pg_partman@github.com>
Subject: [pgpartman/pg_partman] PR #878: fix(partman): typo %6$L in format() call within partition_data_time
Date: Fri, 25 Sep 2026 03:07:07 +0000
Message-ID: <gh-pgpartman-pg_partman-878@github.com> (raw)
inline patch 1: sql/functions/partition_data_time.sql (+1/-1 lines) download inline-1.patch
diff --git a/sql/functions/partition_data_time.sql b/sql/functions/partition_data_time.sql
index fb441ab..0f72f5c 100644
--- a/sql/functions/partition_data_time.sql
+++ b/sql/functions/partition_data_time.sql
@@ -283,7 +283,7 @@ FOR i IN 1..p_batch_count LOOP
WHILE v_lock_iter <= 5 LOOP
v_lock_iter := v_lock_iter + 1;
BEGIN
- v_sql := format('SELECT * FROM ONLY %I.%I WHERE %s >= %L AND %4$s < %6$L FOR UPDATE NOWAIT'
+ v_sql := format('SELECT * FROM ONLY %I.%I WHERE %s >= %L AND %4$s < %5$L FOR UPDATE NOWAIT'
, v_source_schemaname
, v_source_tablename
, v_partition_expression
view thread (4+ messages) latest in thread
Message-ID: <gh-pgpartman-pg_partman-878@github.com>
Permalink: ../gh-pgpartman-pg_partman-878@github.com/
· ·
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox