2
0

mark CopyDone as frontend too

This commit is contained in:
Matt Jibson
2020-07-31 16:13:23 -06:00
committed by GitHub
parent 3443d78a73
commit 2799a6e9a6
+3
View File
@@ -10,6 +10,9 @@ type CopyDone struct {
// Backend identifies this message as sendable by the PostgreSQL backend.
func (*CopyDone) Backend() {}
// Frontend identifies this message as sendable by a PostgreSQL frontend.
func (*CopyDone) Frontend() {}
// Decode decodes src into dst. src must contain the complete message with the exception of the initial 1 byte message
// type identifier and 4 byte message length.
func (dst *CopyDone) Decode(src []byte) error {