Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Linux

On most Linux distributions (Debian, Ubuntu, Fedora, etc.), initialize pgrx with:

cargo pgrx init

If you want to specify a custom PostgreSQL version or path to pg_config:

cargo pgrx init -pg<POSTGRES_VERSION> <path to pg_config>

ALT-Linux

On ALT Linux, run:

cargo pgrx init

Or, if you want to specify a custom path and skip version checks:

cargo pgrx init -pg<POSTGRES_VERSION> <path to pg_config> --skip-version-check