postgresql.builtin_pool
postgresql.builtin_pool copied to clipboard
discard all will drop all session which mapping to one backend process
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?
Sorry, it is expected behavior. Or, in other words, DISCARD command is not currently supported by built-in connection pooler.