Looong time ago, I wrote a piece about removing bloat by moving rows away from the end of table, and vacuuming it. This is/was very slow, and was optimized (to some extent) by Nathan Thom, but his blogpost vanished. Besides, later ...

Every now and then I need a function that returns nothing. As you perhaps know, even defining function as "RETURNS VOID" doesn't fully solve the problem: