returnsRow returns whether the query returns set of rows such as SELECT and FETCH statements.
(tag string)
| 1366 | if err := h.sendNestedBeginWarning(query.AST); err != nil { |
| 1367 | return err |
| 1368 | } |
| 1369 | logrus.Tracef("executing portal %s with statement %s and %d bound values", message.Portal, statementLogText(query), len(portalData.Vars)) |
| 1370 | |
| 1371 | if portalData.IsEmptyQuery { |
| 1372 | err = h.send(&pgproto3.NoData{}) |
| 1373 | if err != nil { |
| 1374 | return fmt.Errorf("error sending NoData message: %w", err) |
| 1375 | } |
| 1376 | return h.send(&pgproto3.EmptyQueryResponse{}) |
| 1377 | } |
| 1378 |
no outgoing calls
no test coverage detected