- Build
$ make
$ make install
- Modify postgresql.conf
shared_preload_libraries = 'pg_ensure_queryid'
- Restart postgres
pg_ctl restart
pg_ensure_queryid.use_query_id_tracking
- on : enable query_id tracking on extended PreferQueryMode (default)
- off : disable query_id tracking on extended PreferQueryMode
Note: This option does not require a server restart