Skip to content

Commit

Permalink
address review comments:
Browse files Browse the repository at this point in the history
fix upstream conflict in run_maintenance query
  • Loading branch information
akulapid committed Nov 20, 2024
1 parent c37290a commit 01a3c9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/functions/run_maintenance.sql
Original file line number Diff line number Diff line change
Expand Up @@ -223,13 +223,13 @@ LOOP
LOOP

IF v_control_type = 'time' OR (v_control_type = 'id' AND v_row.epoch <> 'none') THEN
EXECUTE format('SELECT %s::text FROM %I.%I'
EXECUTE format('SELECT %s::text FROM %I.%I LIMIT 1'
, v_partition_expression
, v_row_max_time.partition_schemaname
, v_row_max_time.partition_tablename
) INTO v_child_timestamp;
ELSIF v_control_type IN ('text', 'uuid') THEN
EXECUTE format('SELECT %s(%s::text) FROM %I.%I'
EXECUTE format('SELECT %s(%s::text) FROM %I.%I LIMIT 1'
, v_time_decoder
, v_partition_expression
, v_row_max_time.partition_schemaname
Expand Down

0 comments on commit 01a3c9e

Please sign in to comment.