Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1baPsc-0000rr-Pn for pgadmin-hackers@arkaria.postgresql.org; Thu, 18 Aug 2016 16:09:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1baPsc-0000aB-Cc for pgadmin-hackers@arkaria.postgresql.org; Thu, 18 Aug 2016 16:09:18 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1baPsO-0000Kh-H3 for pgadmin-hackers@postgresql.org; Thu, 18 Aug 2016 16:09:04 +0000 Received: from mail-it0-x22d.google.com ([2607:f8b0:4001:c0b::22d]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1baPsL-0005jD-6X for pgadmin-hackers@postgresql.org; Thu, 18 Aug 2016 16:09:03 +0000 Received: by mail-it0-x22d.google.com with SMTP id f6so2503080ith.0 for ; Thu, 18 Aug 2016 09:09:01 -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=ti+xaAdLhEYKo9y3LzL2VJ9Yifwxgt4mEU87FQt+meQ=; b=scmiyXQyv4JMmX3dry+8BS6ZRD2mJa82EjMVvVVZOAZHnTQWef5iX7rlSY172hQFOY 0dQkmnjmqetpt5ZLqYGtJ8Pfp1zkiycSZ3J3fuhHdQpxwYEKaND7W9xZMuw8oDLsa+h2 chrDEAnT5HiK+NP43ZP8Wb5Lbvq7SQn5SlbiapYPkUT0o52fiUgoWVccX3ogqi08X6yC ZBBsvpZTEKC3nMv0Li/djRm61+eWj+A5oVPjFJQsJL5fhIOm0ZA3YEJbrYNjBXcNN5hB q7f9sqjKf1I14U9ThvXKlS3E/OYRhd9qWkA9tSC5Jk2u9IcXIpPp184wkQCk4p6rx+2u yOYw== 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=ti+xaAdLhEYKo9y3LzL2VJ9Yifwxgt4mEU87FQt+meQ=; b=ZsiMpIpMr59TjeYgfo5YttLcIWOhEMYS/TQsrpIXkQKmogCN4EWEfUEBAhhkAlWu49 mA7qAFW4AsnvUYE4QMMrvGbr7jO9iUx7z/FMQOe0sZr/OgzvYCaAlEStQ5i9T5rRY9nA aIqKy2O2F9H1Ea33hTB3J/OAbGhvwQDsVvSC0KXEUnisPC0wAAXYgfN6PCzDrTcw0ZTM wZWmVUNLAH8lJgfvkuJHY16OwrHmGCa2TzGk33p23knhpiUVgD+djZ9mg+z74Gx305kL kt9JFqVmYi6E8rWNOzBuhQ0kxl+Ew4BYpx0Q5EYP31X2ohpUk0eLTZkK7d3kWHrDVuNw jruA== X-Gm-Message-State: AEkoouu0MTezp5+lUxONdC8HVJlRU6iohnhjYXJL5DFQvyB4MgvIQkD65NwVvAhWwf18QC3h69yZVKxdQAuLqQ== X-Received: by 10.36.238.138 with SMTP id b132mr406622iti.37.1471536540437; Thu, 18 Aug 2016 09:09:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.208.97 with HTTP; Thu, 18 Aug 2016 09:08:59 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Thu, 18 Aug 2016 17:08:59 +0100 Message-ID: Subject: Re: PATCH: To fix the issue where message panel was showing incomplete info (pgAdmin4) To: Murtuza Zabuawala Cc: Ashesh Vashi , 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 Thanks, applied. On Thu, Aug 18, 2016 at 10:21 AM, Murtuza Zabuawala wrote: > Hi Dave, > > Please find updated patch with auto scrolling & also fixed duplicate > messages issue. > Please review. > > Regards, > Murtuza > > -- > Regards, > Murtuza Zabuawala > EnterpriseDB: http://www.enterprisedb.com > The Enterprise PostgreSQL Company > > On Wed, Aug 17, 2016 at 7:09 PM, Dave Page wrote: >> >> Hi >> >> On Tue, Aug 16, 2016 at 3:56 PM, Murtuza Zabuawala >> wrote: >> > Hi Dave, >> > >> > PFA updated patch. >> >> I just tested this, and found a number of issues: >> >> - For a query like VACUUM FULL ANALYZE VERBOSE, the query runtime is >> not displayed at the end of the messages. It is for SELECT queries >> (note: pgAdmin 3 returns "Query returned successfully with no result >> in 6.6 secs."). >> >> - Messages seem to be duplicated. For example, the output from the >> query above, run on pgAdmin3 is 95KB, whilst from pgAdmin4 it's >> 3.1MB(!). I believe it's because you're not clearing __notices in >> messages(). I'm not entirely clear why that's even needed though - >> can't we just return messages from self.conn.notices and clear that >> directly? >> >> - The messages div should scroll to the end as it's updated, per >> discussion. >> >> Thanks. >> >> -- >> Dave Page >> Blog: http://pgsnake.blogspot.com >> Twitter: @pgsnake >> >> EnterpriseDB UK: http://www.enterprisedb.com >> The Enterprise PostgreSQL Company > > -- 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