Crate pgdog_macros

Source
Expand description

Macros used by PgDog plugins.

Required and exported by the pgdog-plugin crate. You don’t have to add this crate separately.

Macros§

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

Attribute Macros§

fini
Generate the pgdog_fini method that runs at PgDog shutdown.
init
Generate the pgdog_init method that’s executed at plugin load time.
route
Generates the pgdog_route method for routing queries.