diff --git a/expected/yezzey-alter-toast_cbdb.out b/expected/yezzey-alter-toast_cbdb.out index 8690fb1..16af44b 100644 --- a/expected/yezzey-alter-toast_cbdb.out +++ b/expected/yezzey-alter-toast_cbdb.out @@ -19,7 +19,8 @@ INSERT INTO y_a_toast_t (z3) VALUES (repeat('a', 2323323)); SELECT spcname from pg_tablespace where oid = (select reltablespace from pg_class where relname='y_a_toast_t'); spcname --------- -(0 rows) + yezzey +(1 row) DROP TABLE y_a_toast_t; \! echo AO TOAST ALTER test OK diff --git a/expected/yezzey-vac-relation-187_cbdb.out b/expected/yezzey-vac-relation-187_cbdb.out index bf20222..9ea7345 100644 --- a/expected/yezzey-vac-relation-187_cbdb.out +++ b/expected/yezzey-vac-relation-187_cbdb.out @@ -65,9 +65,9 @@ SELECT count() FROM vac_relation_regaotyvi; SELECT yezzey_vacuum_relation('vac_relation_regaotyvi', true); yezzey_vacuum_relation ------------------------ - - - + t + t + t (3 rows) SELECT count(1) FROM gp_dist_random('yezzey.yezzey_virtual_index') WHERE relation = 'vac_relation_regaotyvi'::regclass::oid; diff --git a/expected/yezzey-vac-relation_cbdb.out b/expected/yezzey-vac-relation_cbdb.out index 89b89fb..454878a 100644 --- a/expected/yezzey-vac-relation_cbdb.out +++ b/expected/yezzey-vac-relation_cbdb.out @@ -65,9 +65,9 @@ SELECT count() FROM vac_relation_regaotyvi; SELECT yezzey_vacuum_relation('vac_relation_regaotyvi', true); yezzey_vacuum_relation ------------------------ - - - + t + t + t (3 rows) SELECT count(1) FROM gp_dist_random('yezzey.yezzey_virtual_index') WHERE relation = 'vac_relation_regaotyvi'::regclass::oid; diff --git a/yezzey--1.8.8.sql b/yezzey--1.8.8.sql index 1ecd4fe..221d74b 100644 --- a/yezzey--1.8.8.sql +++ b/yezzey--1.8.8.sql @@ -629,7 +629,7 @@ CREATE FUNCTION yezzey_vacuum_relation( RETURNS TABLE (status BOOLEAN) AS $$ BEGIN -SELECT yezzey_vacuum_relation(relname::regclass::oid, confirm, crazyDrop); +RETURN QUERY SELECT yezzey_vacuum_relation(relname::regclass::oid, confirm, crazyDrop); END; $$ LANGUAGE PLPGSQL;