Full threadmattbillenstein·I wrote one of these not long ago: https://github.com/mattbillenstein/pg-queueView on HN