Line: 189
|
// https://github.com/postgres/postgres/blob/6e1dd2773eb60a6ab87b27b8d9391b756e904ac3/src/backend/tcop/postgres.c#L4295 |
|
return readyForQuery(writer, types.ServerIdle) |
|
case types.ClientClose: |
|
// TODO: close the statement or portal |
|
writer.Start(types.ServerCloseComplete) //nolint:errcheck |
|
writer.End() //nolint:errcheck |
|
return readyForQuery(writer, types.ServerIdle) |
|
case types.ClientTerminate: |
|
err = srv.handleConnTerminate(ctx) |
|
if err != nil { |
|
return err |