Comment 1 for bug 1830608

Andreas Hasenack (ahasenack) wrote :

Thanks for filing this bug in Ubuntu.

I believe we need these commits (untested):

commit 2c6ef84d0b85688e8ef6a470d4c8d3431b0e708d
Author: Vincas Dargis <email address hidden>
Date: Tue Mar 12 07:19:42 2019 +0000

    Remove stray comment in postgresql_connections_

    Commit 07794c560f1a40b57109ca73a91ae811bc560708 introduced stray comment that produces problems while checking connections for individual databases.

    Uncomment filter to fix querying connections for individual databases.

    Closes #1168

commit 314adef05fa7d285f45d7cbd585bed98acc45042
Author: Lars Kruse <email address hidden>
Date: Thu Feb 28 03:31:07 2019 +0100

    Unify whitespace formatting

commit 07794c560f1a40b57109ca73a91ae811bc560708
Author: lonepsycho <email address hidden>
Date: Tue Feb 26 13:36:09 2019 +0200

    fix idle connections showing as waiting for lock

    in postgresql v10 and v11 current version shows idle connections as waiting for lock. with these changes idle connections are being showed as idle, and only connections that are holding locks are shown as waiting