PostgreSQL driver and toolkit for Go
 
 
 
Go to file
Oliver Tan 175856ffd3 add GSS authentication to pgproto3 2022-04-12 07:13:21 -05:00
example/pgfortune Add more pgfortune output 2019-09-07 11:41:31 -05:00
.travis.yml Add travis CI 2019-03-30 12:33:04 -05:00
LICENSE Add readme, license, and docs 2019-03-30 12:32:39 -05:00
README.md Add pgfortune example 2019-09-07 11:37:43 -05:00
authentication_cleartext_password.go Add support for identifying authentication messages 2021-06-12 13:54:34 -05:00
authentication_gss.go add GSS authentication to pgproto3 2022-04-12 07:13:21 -05:00
authentication_gss_continue.go add GSS authentication to pgproto3 2022-04-12 07:13:21 -05:00
authentication_md5_password.go Add support for identifying authentication messages 2021-06-12 13:54:34 -05:00
authentication_ok.go Add support for identifying authentication messages 2021-06-12 13:54:34 -05:00
authentication_sasl.go Add support for identifying authentication messages 2021-06-12 13:54:34 -05:00
authentication_sasl_continue.go Add support for identifying authentication messages 2021-06-12 13:54:34 -05:00
authentication_sasl_final.go Add support for identifying authentication messages 2021-06-12 13:54:34 -05:00
backend.go add GSS authentication to pgproto3 2022-04-12 07:13:21 -05:00
backend_key_data.go MarshalJSON should be defined on T not *T 2019-08-27 21:13:45 -05:00
backend_test.go Fix unexpected EOF failure for StartupMessage 2021-07-07 18:10:44 -05:00
big_endian.go Introduce pgproto3 package 2017-04-29 10:02:38 -05:00
bind.go json: fix implementation of json Unmarshalers. 2021-05-22 11:34:25 -05:00
bind_complete.go MarshalJSON should be defined on T not *T 2019-08-27 21:13:45 -05:00
cancel_request.go Remove pkg/errors package 2019-08-31 11:53:26 -05:00
chunkreader.go Add a lot of documentation 2019-06-08 19:38:34 -05:00
close.go json: Implement json.Unmarshaler for messages. 2021-05-22 11:34:25 -05:00
close_complete.go MarshalJSON should be defined on T not *T 2019-08-27 21:13:45 -05:00
command_complete.go json: Implement json.Unmarshaler for messages. 2021-05-22 11:34:25 -05:00
copy_both_response.go fix: Adding overall format before appending ColumnFormatCodes 2022-04-02 18:58:59 -05:00
copy_both_response_test.go Addressing feedback 2022-04-02 18:58:59 -05:00
copy_data.go json: Implement json.Unmarshaler for messages. 2021-05-22 11:34:25 -05:00
copy_done.go mark CopyDone as frontend too 2020-07-31 16:13:23 -06:00
copy_fail.go MarshalJSON should be defined on T not *T 2019-08-27 21:13:45 -05:00
copy_in_response.go json: Implement json.Unmarshaler for messages. 2021-05-22 11:34:25 -05:00
copy_out_response.go json: Implement json.Unmarshaler for messages. 2021-05-22 11:34:25 -05:00
data_row.go json: Implement json.Unmarshaler for messages. 2021-05-22 11:34:25 -05:00
describe.go json: Implement json.Unmarshaler for messages. 2021-05-22 11:34:25 -05:00
doc.go Add a lot of documentation 2019-06-08 19:38:34 -05:00
empty_query_response.go MarshalJSON should be defined on T not *T 2019-08-27 21:13:45 -05:00
error_response.go Fix json marshal/unmarshal implementations 2021-05-29 11:06:05 -05:00
execute.go MarshalJSON should be defined on T not *T 2019-08-27 21:13:45 -05:00
flush.go MarshalJSON should be defined on T not *T 2019-08-27 21:13:45 -05:00
frontend.go add GSS authentication to pgproto3 2022-04-12 07:13:21 -05:00
frontend_test.go Add support to ErrorResponse for unlocalized severity 2020-12-28 10:22:55 -06:00
function_call.go Remove unimplemented JSON marshalling for FunctionCall type. 2021-11-06 16:39:43 -05:00
function_call_response.go json: Implement json.Unmarshaler for messages. 2021-05-22 11:34:25 -05:00
function_call_test.go Fix unit test, it should return after any error is returned from Decode 2021-11-06 16:39:43 -05:00
go.mod Addressing feedback 2022-04-02 18:58:59 -05:00
go.sum Addressing feedback 2022-04-02 18:58:59 -05:00
gss_enc_request.go Add missing GSSEncRequest 2019-12-17 20:21:57 -05:00
gss_response.go add GSS authentication to pgproto3 2022-04-12 07:13:21 -05:00
json_test.go add GSS authentication to pgproto3 2022-04-12 07:13:21 -05:00
no_data.go MarshalJSON should be defined on T not *T 2019-08-27 21:13:45 -05:00
notice_response.go Add a lot of documentation 2019-06-08 19:38:34 -05:00
notification_response.go Fix notification response 2020-08-31 17:09:20 -05:00
parameter_description.go MarshalJSON should be defined on T not *T 2019-08-27 21:13:45 -05:00
parameter_status.go MarshalJSON should be defined on T not *T 2019-08-27 21:13:45 -05:00
parse.go MarshalJSON should be defined on T not *T 2019-08-27 21:13:45 -05:00
parse_complete.go MarshalJSON should be defined on T not *T 2019-08-27 21:13:45 -05:00
password_message.go Add support for identifying authentication messages 2021-06-12 13:54:34 -05:00
pgproto3.go Add support for identifying authentication messages 2021-06-12 13:54:34 -05:00
portal_suspended.go MarshalJSON should be defined on T not *T 2019-08-27 21:13:45 -05:00
query.go MarshalJSON should be defined on T not *T 2019-08-27 21:13:45 -05:00
ready_for_query.go json: Implement json.Unmarshaler for messages. 2021-05-22 11:34:25 -05:00
row_description.go json: Implement json.Unmarshaler for messages. 2021-05-22 11:34:25 -05:00
sasl_initial_response.go Fix JSON output for SASL{Response,InitialResponse} 2021-10-30 09:08:58 -05:00
sasl_response.go Fix JSON output for SASL{Response,InitialResponse} 2021-10-30 09:08:58 -05:00
ssl_request.go Remove pkg/errors package 2019-08-31 11:53:26 -05:00
startup_message.go Remove pkg/errors package 2019-08-31 11:53:26 -05:00
sync.go MarshalJSON should be defined on T not *T 2019-08-27 21:13:45 -05:00
terminate.go MarshalJSON should be defined on T not *T 2019-08-27 21:13:45 -05: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.