@@ -318,6 +318,7 @@ join (select * from test.run_values limit 4) as t2 on t1.id = t2.val;
318318 -> Limit
319319 -> Seq Scan on run_values
320320 -> Custom Scan (RuntimeAppend)
321+ Prune by: (run_values.val = t1.id)
321322 -> Seq Scan on runtime_test_1 t1
322323 Filter: (run_values.val = id)
323324 -> Index Only Scan using runtime_test_1_0_pkey on runtime_test_1_0 t1
@@ -332,7 +333,7 @@ join (select * from test.run_values limit 4) as t2 on t1.id = t2.val;
332333 Index Cond: (id = run_values.val)
333334 -> Index Only Scan using runtime_test_1_5_pkey on runtime_test_1_5 t1
334335 Index Cond: (id = run_values.val)
335- (18 rows)
336+ (19 rows)
336337
337338select from test.runtime_test_1 as t1
338339join (select * from test.run_values limit 4) as t2 on t1.id = t2.val;
@@ -355,6 +356,7 @@ join (select * from test.run_values limit 4) as t2 on t1.id = t2.val;
355356 -> Limit
356357 -> Seq Scan on run_values
357358 -> Custom Scan (RuntimeAppend)
359+ Prune by: (run_values.val = t1.id)
358360 -> Index Only Scan using runtime_test_1_0_pkey on runtime_test_1_0 t1
359361 Index Cond: (id = run_values.val)
360362 -> Index Only Scan using runtime_test_1_1_pkey on runtime_test_1_1 t1
@@ -367,7 +369,7 @@ join (select * from test.run_values limit 4) as t2 on t1.id = t2.val;
367369 Index Cond: (id = run_values.val)
368370 -> Index Only Scan using runtime_test_1_5_pkey on runtime_test_1_5 t1
369371 Index Cond: (id = run_values.val)
370- (16 rows)
372+ (17 rows)
371373
372374select from test.runtime_test_1 as t1
373375join (select * from test.run_values limit 4) as t2 on t1.id = t2.val;
0 commit comments