Yuli Khodorkovskiy 7c9e840726 Add support for identifying authentication messages
The pgprotocol overloads 'p' messages with PasswordMessage,
SASLInitialResponse, SASLResponse, and GSSResponse. This patch allows
contextual identification of the message by setting the authType in the
frontend and then setting this value in the backend when a
AuthenticationResponseMessage is received.
2021-06-12 13:54:34 -05:00
2019-03-30 12:33:04 -05:00
2017-04-29 10:02:38 -05:00
2019-08-31 11:53:26 -05:00
2019-06-08 19:38:34 -05:00
2020-07-31 16:13:23 -06:00
2019-06-08 19:38:34 -05:00
2019-12-17 20:21:57 -05:00
2019-03-30 12:32:39 -05:00
2019-06-08 19:38:34 -05:00
2019-09-07 11:37:43 -05:00
2019-08-31 11:53:26 -05:00
2019-08-31 11:53:26 -05:00

Build Status

pgproto3

Package pgproto3 is a encoder and decoder of the PostgreSQL wire protocol version 3.

pgproto3 can be used as a foundation for PostgreSQL drivers, proxies, mock servers, load balancers and more.

See example/pgfortune for a playful example of a fake PostgreSQL server.

Extracted from original implementation in https://github.com/jackc/pgx.

Description
PostgreSQL driver and toolkit for Go
Readme MIT 7.6 MiB
Languages
Go 98.6%
HTML 1.2%
Shell 0.2%