meta

package
v0.0.0-...-a56bf6c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2024 License: PostgreSQL Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Proc

Proc processes various coordinator commands based on the provided statement.

Parameters: - ctx (context.Context): The context for the function. - tstmt (spqrparser.Statement): The statement to be processed. - mgr (EntityMgr): The entity manager. - ci (connectiterator.ConnectIterator): The connect iterator. - cli (*clientinteractor.PSQLInteractor): The PSQL interactor. - writer (workloadlog.WorkloadLog): The workload log writer.

Returns: - error: An error if the operation fails, otherwise nil.

func ProcessKill

func ProcessKill(ctx context.Context, stmt *spqrparser.Kill, mngr EntityMgr, pool client.Pool, cli *clientinteractor.PSQLInteractor) error

ProcessKill processes the kill command based on the statement provided.

Parameters: - ctx (context.Context): The context for the operation. - stmt (*spqrparser.Kill): The kill statement to process. - mngr (EntityMgr): The entity manager for managing entities. - pool (client.Pool): The pool of clients. - cli (*clientinteractor.PSQLInteractor): The PSQL interactor for client interactions.

Returns: - error: An error if the operation encounters any issues.

func ProcessShow

ProcessShow processes the SHOW statement and returns an error if any issue occurs.

Parameters: - ctx (context.Context): The context for the operation. - stmt (*spqrparser.Show): The SHOW statement to process. - mngr (EntityMgr): The entity manager for managing entities. - ci (connectiterator.ConnectIterator): The connect iterator for connection interactions. - cli (*clientinteractor.PSQLInteractor): The PSQL interactor for client interactions.

Returns: - error: An error if the operation encounters any issues.

Types

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL