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

discard all will drop all session which mapping to one backend process #4

Open
digoal opened this issue May 21, 2018 · 1 comment
Open

Comments

@digoal
Copy link

@digoal digoal commented May 21, 2018

HI,
when i use more connection to pool size.
and use one session to execute discard all, then all session which mapping to the same backend process with this session's session variable(sequence, prepared statement,....) will all discard.
why not only discard one session's variables?

@knizhnik
Copy link

@knizhnik knizhnik commented May 21, 2018

Sorry, it is expected behavior. Or, in other words, DISCARD command is not currently supported by built-in connection pooler.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.