/pg_py_plan_forwarding

This extension forward PostgreSQL plan to Python for modification and return it back

Primary LanguageCBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

PG to Py plan forwarding

This extension is intended to simplify the task of learning the query optimization process. By separating complex C code, and bringing logic into Python

Installation

mkdir build
cd build

make -f ../pg_py_plan_forwarding/Makefile # compile
make install # install
make check # check whether it works correctly (optional)

export PYTHONPATH=/home/vagrant/pg_py_plan_forwarding