Postgres restore exploitation Build and install postgresql from source with version matching that of the target database. export PATH="/usr/local/pgsql/bin:$PATH" gcc -I$(pg_config --includedir-server) -shared -fPIC -o poc poc.c