From 08088ecf9a92d8ba11a0784f7ff093bd5dfde1bd Mon Sep 17 00:00:00 2001 From: Yuli Khodorkovskiy Date: Mon, 4 May 2020 13:30:57 -0400 Subject: [PATCH] Fix notification response Notification response was missing the PID in the Encode function --- notification_response.go | 1 + 1 file changed, 1 insertion(+) diff --git a/notification_response.go b/notification_response.go index cd83c5ba..e762eb96 100644 --- a/notification_response.go +++ b/notification_response.go @@ -46,6 +46,7 @@ func (src *NotificationResponse) Encode(dst []byte) []byte { sp := len(dst) dst = pgio.AppendInt32(dst, -1) + dst = pgio.AppendUint32(dst, src.PID) dst = append(dst, src.Channel...) dst = append(dst, 0) dst = append(dst, src.Payload...)