MCPcopy Create free account
hub / github.com/dolthub/doltgresql / send

Method send

server/connection_handler.go:1223–1226  ·  view source on GitHub ↗

Send sends the given message over the connection.

(message pgproto3.BackendMessage)

Source from the content-addressed store, hash-verified

1221
1222// Send sends the given message over the connection.
1223func (h *ConnectionHandler) send(message pgproto3.BackendMessage) error {
1224 h.backend.Send(message)
1225 return h.backend.Flush()
1226}
1227
1228// returnsRow returns whether the query returns set of rows such as SELECT and FETCH statements.
1229func returnsRow(query ConvertedQuery) bool {

Callers 15

handleAuthenticationMethod · 0.95
handleStartupMethod · 0.95
handleMessageMethod · 0.95
handleQueryMethod · 0.95
handleParseMethod · 0.95
handleBindMethod · 0.95
handleExecuteMethod · 0.95
copyFromFileQueryMethod · 0.95
handleCopyDoneMethod · 0.95

Calls 2

FlushMethod · 0.80
SendMethod · 0.45

Tested by

no test coverage detected