As usual, I'm slow in finding handy Postres features. I've been hand-calculating TABLESAMPLE fractions to make it return an approximate number of rows.

Turns out there's a module that lets you specify the exact number of rows directly:

Sign in to participate in the conversation

A lonely little town in the wider world of the fediverse.