Module pgx::guc

source ·
Expand description

Provides a safe interface into Postgres’ Configuration System (GUC)

Structs

  • Flags to control special behaviour for the GUC that these are set on. See their descriptions below for their behaviour.
  • A struct that has associated functions to register new GUCs
  • A safe wrapper around a global variable that can be edited through a GUC

Enums

  • Defines at what level this GUC can be set

Traits

Derive Macros

  • Derives the GucEnum trait, so that normal Rust enums can be used as a GUC.