Crate postgres_protocol[][src]

Low level Postgres 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

Authentication protocol support.

escape

Provides functions for escaping literals and identifiers for use in SQL queries.

message

Postgres message protocol support.

password

Functions to encrypt a password in the client.

types

Conversions to and from Postgres’s binary format for various types.

Enums

IsNull

An enum indicating if a value is NULL or not.

Type Definitions

Lsn

A Postgres Log Sequence Number (LSN).

Oid

A Postgres OID.