gocardless / pgreplay-go

Postgres load testing tool
MIT License
113 stars 15 forks source link

Doc: strip out advisory lock taking from logs #7

Closed craigfurman closed 5 years ago

craigfurman commented 5 years ago

Replace calls to pg_try_advisory_lock with bool, which when passed an integer >0 returns true. This allows queries that use this function to be fast without filling up pg_locks as a test runs.