title: Does postgresql release (advisory) locks after a DISCARD ALL; command?
body: <p>Does postgresql release (advisory) locks after a <code>DISCARD ALL;</code> command?</p>
  
  <p>It seems like it doesn't from <a href="https://www.mail-archive.com/search?l=pgsql-hackers@postgresql.org&amp;q=subject:%22Re%5C%3A+%5C%5BHACKERS%5C%5D+%5C%5Bbugfix%5C%5D+DISCARD+ALL+does+not+release+advisory+locks%22&amp;o=newest&amp;f=1" rel="nofollow noreferrer">this mail discussion I found</a>. But I was wondering if anyone could tell me if this was changed or fixed in a new release since <a href="https://www.mail-archive.com/search?l=pgsql-hackers@postgresql.org&amp;q=subject:%22Re%5C%3A+%5C%5BHACKERS%5C%5D+%5C%5Bbugfix%5C%5D+DISCARD+ALL+does+not+release+advisory+locks%22&amp;o=newest&amp;f=1" rel="nofollow noreferrer">nov 2008</a>?</p>