We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b0725ee + b309198 commit 6bbb929Copy full SHA for 6bbb929
server/conn.go
@@ -1068,7 +1068,6 @@ func (c *clientConn) handleDescribe(body []byte) {
1068
c.sendError("ERROR", "34000", fmt.Sprintf("portal %q does not exist", name))
1069
return
1070
}
1071
- p.described = true
1072
1073
// For non-SELECT, send NoData
1074
upperQuery := strings.ToUpper(strings.TrimSpace(p.stmt.query))
@@ -1105,6 +1104,9 @@ func (c *clientConn) handleDescribe(body []byte) {
1105
1104
1106
1107
+ // Only mark as described when we actually send RowDescription.
1108
+ // If we sent NoData above, Execute should still send RowDescription.
1109
+ p.described = true
1110
c.sendRowDescription(cols, colTypes)
1111
1112
default:
0 commit comments