This is the test table and data
test id;geom INSERT INTO public.test(1, ST_GeomFromText(\'POLYGON((2 2,1 3,2 4,3 3,2 2))\'));
and when I do