Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

close the statement or portal #59

Open
github-actions bot opened this issue Jun 3, 2023 · 0 comments
Open

close the statement or portal #59

github-actions bot opened this issue Jun 3, 2023 · 0 comments

Comments

@github-actions
Copy link

github-actions bot commented Jun 3, 2023

Line: 189

psql-wire//command.go

Lines 186 to 196 in b289207

// 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants