From 2799a6e9a6b9c6b4211e72a8f3fee18280d29b6c Mon Sep 17 00:00:00 2001 From: Matt Jibson Date: Fri, 31 Jul 2020 16:13:23 -0600 Subject: [PATCH] mark CopyDone as frontend too --- copy_done.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/copy_done.go b/copy_done.go index d8b6e5d7..0e13282b 100644 --- a/copy_done.go +++ b/copy_done.go @@ -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 {