Expand description

Low level openGauss protocol APIs.

This crate implements the low level components of Postgres’s communication protocol, including message and value serialization and deserialization. It is designed to be used as a building block by higher level APIs such as rust-postgres, and should not typically be used directly.

Note

This library assumes that the client_encoding backend parameter has been set to UTF8. It will most likely not behave properly if that is not the case.

Modules

  • Authentication protocol support.
  • Provides functions for escaping literals and identifiers for use in SQL queries.
  • Postgres message protocol support.
  • Functions to encrypt a password in the client.
  • Conversions to and from Postgres’s binary format for various types.

Enums

  • An enum indicating if a value is NULL or not.

Type Definitions

  • A Postgres Log Sequence Number (LSN).
  • A Postgres OID.