Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bX6cA-0001ib-H3 for pgadmin-hackers@arkaria.postgresql.org; Tue, 09 Aug 2016 12:58:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bX6c9-0003L6-J4 for pgadmin-hackers@arkaria.postgresql.org; Tue, 09 Aug 2016 12:58:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bX6bw-00036t-MA for pgadmin-hackers@postgresql.org; Tue, 09 Aug 2016 12:58:24 +0000 Received: from mail-it0-x22e.google.com ([2607:f8b0:4001:c0b::22e]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bX6bs-0005Bu-Rm for pgadmin-hackers@postgresql.org; Tue, 09 Aug 2016 12:58:23 +0000 Received: by mail-it0-x22e.google.com with SMTP id f6so13087411ith.0 for ; Tue, 09 Aug 2016 05:58:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5B2VlibHfJYez8N03zw/02eAcBTil9gMO55VU6iBUfY=; b=UGDXr7sG5R3OTGineFmIfV7nCwIPuZ4y7sVv1ODSnIe4L05BOfG9t6w+Epra2fuwA7 Tzm5HoOErldC6Pr43otLre6Qy0wsByAzWnqzma2ZxNh5+iUDdJo5I8zRe1wIxnhYAx5o D98wetLq8XfeRXWgDxLeg4ntfTAOKSPsu9YrXR37vIuc+sU0Eunpmjn0ytLg3+pa07/t ETK6aLM1NIDnECKhzKs12/Zi7qaY23P1Fz/Wot1Rtbo29tRhi3JoJOpnfrwwcuf0l75c ZWcSGYtjgfVnSCy+CgoqrHiTMCBddOH2MxaCdhloO1c2GIBGOtCTKP9be79VZ9m0KUEF lsxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5B2VlibHfJYez8N03zw/02eAcBTil9gMO55VU6iBUfY=; b=gtzIaqE77O0PEGteJyD9Qcfr98uu593r1+CNFOYfN8cVPyai9T7q+Es2ZwQ2+Fe5LR 6IeX8gcYQP19t9v9g9Y2mBaIuYf110ptFOETxMhGal/MJ6Kgl8ku5JB1rG+bFseamRpg vGtQgUhcljLpEaFVZgWT0R+Gca5f8UCP34jMS5EmeTq/pJBOTnJ02x0+E+Kj8SJrFsbL bHoP9JJiN2uXbJOKCxDsazCbKDkrGyDV2HcAUGLHRRE5j1y7Is0gTw62p1d4En/h0YcR Rvkupf/zPkSXDNydHGJxSdI6nTnpwgjanE/ZtqwUHYd0cTu7z2uLyZG26CBzoKSEpMmf 5e3Q== X-Gm-Message-State: AEkoouujDNlocRpn/aZI+8/Rwo1HHVA6YrgzmYWJmNx4iFdbHo3u2Sfe6u7ENpyeGusLDGyX84uJ6mT/rVObBQ== X-Received: by 10.36.103.214 with SMTP id u205mr24523036itc.88.1470747499062; Tue, 09 Aug 2016 05:58:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.208.97 with HTTP; Tue, 9 Aug 2016 05:58:18 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Tue, 9 Aug 2016 13:58:18 +0100 Message-ID: Subject: Re: PATCH: To fix the issue where message panel was showing incomplete info (pgAdmin4) To: Murtuza Zabuawala Cc: pgadmin-hackers Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org Hi On Tue, Aug 9, 2016 at 8:07 AM, Murtuza Zabuawala wrote: > Hi, > > PFA patch to fix the issue where message panel was showing incomplete info. > We may still miss some messages from Psycopg2 driver due to limited size of > notices queue. > (RM#1523) A few thoughts on this (mostly based on my discussions with Ashesh): 1) You seem to have removed the poll delay. I assume that is to try to avoid missing messages? Can we re-introduce the delay (to avoid excessive network requests), but collect messages while we're waiting? 2) If I run VACUUM, whilst I see messages as I should now, there is no query time summary as there is for a query that returns data. 3) Can we incrementally display messages? e.g. each time we poll, we add the new messages to the messages div, and scroll to the end automatically? -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers