postgresql 在 DISCARD ALL 之后释放(咨询)锁吗?命令?

Does postgresql release (advisory) locks after a DISCARD ALL; command?

postgresql 会在 DISCARD ALL; 命令后释放(咨询)锁吗?

好像不是来自this mail discussion I found. But I was wondering if anyone could tell me if this was changed or fixed in a new release since nov 2008?

https://www.postgresql.org/docs/current/static/sql-discard.html

Releases all temporary resources associated with the current session and resets the session to its initial state. Currently, this has the same effect as executing the following sequence of statements:

SET SESSION AUTHORIZATION DEFAULT;
RESET ALL;
DEALLOCATE ALL;
CLOSE ALL;
UNLISTEN *;
SELECT pg_advisory_unlock_all();
DISCARD PLANS;
DISCARD SEQUENCES;
DISCARD TEMP;

据说?..