Skip to content

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

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

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

Comments

@digoal
Copy link

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

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants