by bombcar · 4y ago · 0 comments
https://www.postgresql.org/docs/current/functions-admin.html
DO $$ BEGIN PERFORM rebalance_table_shards(); END $$;
return 6;
or
return x++;
or even
return (exit(0));