MCPcopy
hub / github.com/jackc/pgx / registerFlushingBufferOnServer

Method registerFlushingBufferOnServer

pgconn/pgconn.go:2322–2331  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2320}
2321
2322func (s *pipelineState) registerFlushingBufferOnServer() {
2323 for elem := s.requestEventQueue.Back(); elem != nil; elem = elem.Prev() {
2324 val := elem.Value.(pipelineRequestEvent)
2325 if val.BeforeFlushOrSync {
2326 return
2327 }
2328 val.BeforeFlushOrSync = true
2329 elem.Value = val
2330 }
2331}
2332
2333func (s *pipelineState) PushBackRequestType(req pipelineRequestType) {
2334 if req == pipelineNil {

Callers 1

PushBackRequestTypeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected