pgwire

Module pg_server

source

Structsยง

  • Each session could run different SQLs multiple times. ExecContext represents the lifetime of a running SQL in the current session.
  • ExecContextGuard holds a Arc pointer. Once ExecContextGuard is dropped, the inner Arc<ExecContext> should not be referred anymore, so that its Weak reference (used in SessionImpl) will be the same lifecycle of the running sql execution context.
  • Jwk ๐Ÿ”’
    A JSON Web Key (JWK) is a JSON object that represents a cryptographic key. See https://www.rfc-editor.org/rfc/rfc7517.html#section-4 for more details.
  • Jwks ๐Ÿ”’
    A JWK Set is a JSON object that represents a set of JWKs. The JSON object MUST have a โ€œkeysโ€ member, with its value being an array of JWKs. See https://www.rfc-editor.org/rfc/rfc7517.html#section-5 for more details.

Enumsยง

Traitsยง

  • A psql connection. Each connection binds with a database. Switching database will need to recreate another connection.
  • The interface for a database system behind pgwire protocol. We can mock it for testing purpose.

Functionsยง

Type Aliasesยง