Skip to content

jesperpedersen/pgprtdbg

pgprtdbg

pgprtdbg is an application that turns PostgreSQL protocol v3 interaction into a trace file.

See Getting Started on how to get started with pgprtdbg.

See Configuration on how to configure pgprtdbg.

Tested platforms

Compiling the source

pgprtdbg requires

dnf install gcc cmake make libev libev-devel

Alternative clang 8+ can be used.

Build

The following commands will install pgprtdbg in the /usr/local hierarchy and run the default configuration.

git clone https://github.com/jesperpedersen/pgprtdbg.git
cd pgprtdbg
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
make
sudo make install
/usr/local/bin/pgprtdbg -c /usr/local/etc/pgprtdbg.conf

See RPM for how to build a RPM of pgprtdbg.

Contributing

Contributions to pgprtdbg are managed on GitHub.com

Contributions are most welcome !

License

BSD-3-Clause