Macro plugin

Source
plugin!() { /* proc-macro */ }
Expand description

Generates required methods for PgDog to run at plugin load time.

ยงMethods

  • pgdog_rustc_version: Returns the version of the Rust compiler used to build the plugin.
  • pgdog_pg_query_version: Returns the version of the pg_query library used by the plugin.
  • pgdog_plugin_version: Returns the version of the plugin itself, taken from Cargo.toml.