PgQ is a generic high-performance queue for PostgreSQL. It allows for processing of data created in transactions at a later time in a high-throughput, low-latency, and robust manner. This is achieved by exporting PostgreSQL's MVCC visibility information which allows querying events that occurred between snapshots in a efficient manner without locking. PgQ provides APIs for easily inserting and consuming events in batches between snapshots.