| Crates.io | pgdog-plugin |
| lib.rs | pgdog-plugin |
| version | 0.1.8 |
| created_at | 2025-01-09 07:55:46.103468+00 |
| updated_at | 2025-08-28 16:37:44.882923+00 |
| description | PgDog plugin interface and helpers |
| homepage | https://pgdog.dev |
| repository | https://github.com/pgdogdev/pgdog |
| max_upload_size | |
| id | 1509682 |
| size | 87,646 |
PgDog plugin system is based around shared libraries loaded at runtime. The plugins currently can only be written in Rust. This is because PgDog passes Rust-specific data types to plugin functions, and those cannot be easily made C ABI-compatible.
This crate implements the bridge between PgDog and plugins, making sure data types can be safely passed through the FFI.
Automatic checks include:
pg_query version checkThis crate should be linked at compile time against your plugins.
See documentation for examples. Example plugins are available in GitHub as well.
This library is distributed under the MIT license. See LICENSE for details.