Warning
To use the subscribe and unsubscribe functions, you must add the following to postgresql.conf:
shared_preload_libraries = 'pgnats.so'# 1. Install cargo-pgrx
cargo install cargo-pgrx --git https://github.com/luxms/pgrx --locked
# 2. Initialize pgrx
cargo pgrx init
# 3. Clone this repoWarning
If you want to specify the path to the installed pg_config, use the following command:
cargo pgrx init -pg<POSTGRES_VERSION> <path to pg_config> --skip-version-check
# 1. Install cargo-pgrx
cargo install cargo-pgrx --git https://github.com/luxms/pgrx --locked
# 2. Initialize pgrx
cargo pgrx init [-pg<POSTGRES_VERSION> <path to pg_config>]
# 3. Clone this repoWarning
You need to use feature xid8 to build the extension:
cargo pgrx package -pg_config<path to pg_config> --features xid8
# 1. Install cargo-pgrx
cargo install cargo-pgrx --git https://github.com/luxms/pgrx --locked
# 2. Initialize pgrx
cargo pgrx init -pg<POSTGRES_VERSION> <path to pg_config>
# 3. Clone this repo# 1. Install cargo-pgrx
cargo install cargo-pgrx --git https://github.com/luxms/pgrx --locked
# 2. Initialize pgrx
cargo pgrx init [-pg<POSTGRES_VERSION> <path to pg_config>]
# 3. Clone this repo