diff --git a/conn.go b/conn.go index 04117398..08d42d46 100644 --- a/conn.go +++ b/conn.go @@ -295,7 +295,7 @@ func (c *Connection) Execute(sql string) (commandTag string, err error) { case rowDescription: case dataRow: case commandComplete: - commandTag = r.readString() + commandTag = r.readString() default: if err = c.processContextFreeMsg(t, r); err != nil { return diff --git a/messages.go b/messages.go index 53aa0369..28b4b975 100644 --- a/messages.go +++ b/messages.go @@ -16,7 +16,7 @@ const ( dataRow = 'D' commandComplete = 'C' errorResponse = 'E' - noticeResponse = 'N' + noticeResponse = 'N' ) type startupMessage struct {