v0.2.0
Installation
Download the tarball for your PostgreSQL version and architecture, then:
tar -xzf pg_stat_ch-*.tar.gz
cd pg_stat_ch-*/
sudo cp pg_stat_ch.so $(pg_config --pkglibdir)/
sudo cp pg_stat_ch.control pg_stat_ch--*.sql $(pg_config --sharedir)/extension/See INSTALL.md in the tarball for full instructions.
Debug Symbols
Debug symbol packages (*-debuginfo.tar.gz) are provided for crash analysis.
To use them with a core dump:
tar -xzf pg_stat_ch-*-debuginfo.tar.gz
gdb -ex "set debug-file-directory $(pwd)" -ex "bt" pg_stat_ch.so coreWhat's Changed
- fix: Use procsignal_sigusr1_handler to prevent DROP DATABASE hang by @iskakaushik in #19
- docs: Refactor README and canonicalize ClickHouse schema by @iskakaushik in #20
- fix: Prevent ClickHouse password exposure via pg_settings by @iskakaushik in #21
- fix: Prevent torn reads on exporter stats and atomicize bgworker_pid by @iskakaushik in #22
- fix: Prevent deadlock in overflow path when emit_log_hook re-enters PschEnqueueEvent by @iskakaushik in #23
- perf: Reduce lock contention with local batch buffering and smart copy by @iskakaushik in #27
- docs: README and docs cleanup, add TLS GUCs and queries by @heavycrystal in #29
- fix: Invert overflow_logged flag check by @heavycrystal in #28
- fix: macOS build, gate Windows builds in CMake by @heavycrystal in #24
- perf: Drain queue fully per export cycle by @iskakaushik in #30
- simplify schema and docs cleanup by @heavycrystal in #31
- quickstart, simplify README more and docker refactor by @heavycrystal in #32
- add logo by @heavycrystal in #34
New Contributors
- @heavycrystal made their first contribution in #29
Full Changelog: v0.1.6...v0.2.0