test: add missing tests for max-affected preference with rpc

This commit is contained in:
Taimoor Zaeem
2025-06-16 16:11:03 -05:00
committed by Laurence Isla
parent 703fdd949f
commit ea2d3aeb72
2 changed files with 23 additions and 0 deletions
+5
View File
@@ -3815,3 +3815,8 @@ set oid = 'test.collision_test_table'::regclass::oid
where oid = 'test.collision_test_func'::regproc::oid;
comment on function test.collision_test_func(id integer) is 'fizzbuzz';
create or replace function test.delete_all_items() returns setof items as $$
delete from items where id <= 15 returning *; -- deletes 15 items, then return them
$$ language sql;