MCPcopy Create free account
hub / github.com/PostHog/duckgres / WriteReadyForQuery

Function WriteReadyForQuery

server/wire/protocol.go:241–243  ·  view source on GitHub ↗

writeReadyForQuery indicates the server is ready for a new query

(w io.Writer, txStatus byte)

Source from the content-addressed store, hash-verified

239 data := []byte(name)
240 data = append(data, 0)
241 data = append(data, []byte(value)...)
242 data = append(data, 0)
243 return WriteMessage(w, MsgParamStatus, data)
244}
245
246// writeBackendKeyData sends the backend key data (for cancel requests)

Callers 4

TestWriteReadyForQueryFunction · 0.92
writeReadyForQueryMethod · 0.92
runChildWorkerFunction · 0.92
WriteReadyForQueryFunction · 0.92

Calls 1

WriteMessageFunction · 0.85

Tested by 1

TestWriteReadyForQueryFunction · 0.74