mirror of
1
Fork 0
gotosocial/vendor/github.com/jackc/pgproto3/v2
tobi 2dc9fc1626
Pg to bun (#148)
* start moving to bun

* changing more stuff

* more

* and yet more

* tests passing

* seems stable now

* more big changes

* small fix

* little fixes
2021-08-25 15:34:33 +02:00
..
.travis.yml Pg to bun (#148) 2021-08-25 15:34:33 +02:00
LICENSE Pg to bun (#148) 2021-08-25 15:34:33 +02:00
README.md Pg to bun (#148) 2021-08-25 15:34:33 +02:00
authentication_cleartext_password.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
authentication_md5_password.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
authentication_ok.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
authentication_sasl.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
authentication_sasl_continue.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
authentication_sasl_final.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
backend.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
backend_key_data.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
big_endian.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
bind.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
bind_complete.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
cancel_request.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
chunkreader.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
close.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
close_complete.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
command_complete.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
copy_both_response.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
copy_data.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
copy_done.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
copy_fail.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
copy_in_response.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
copy_out_response.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
data_row.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
describe.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
doc.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
empty_query_response.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
error_response.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
execute.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
flush.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
frontend.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
function_call_response.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
go.mod Pg to bun (#148) 2021-08-25 15:34:33 +02:00
go.sum Pg to bun (#148) 2021-08-25 15:34:33 +02:00
gss_enc_request.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
no_data.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
notice_response.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
notification_response.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
parameter_description.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
parameter_status.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
parse.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
parse_complete.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
password_message.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
pgproto3.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
portal_suspended.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
query.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
ready_for_query.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
row_description.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
sasl_initial_response.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
sasl_response.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
ssl_request.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
startup_message.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
sync.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
terminate.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00

README.md

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.