public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ashesh Vashi <[email protected]>
To: Neel Patel <[email protected]>
Cc: pgadmin-hackers <[email protected]>
Subject: Re: [pgAdmin4][psycopg2] - Modified status message implementation
Date: Tue, 5 Apr 2016 13:30:56 +0530
Message-ID: <CAG7mmozFpm3iJx4TkKpHJehSyesrndhBJE1F5f+4Hp7fG04JiQ@mail.gmail.com> (raw)
In-Reply-To: <CACCA4P2F3oXhxxUwKcRWDdC8AVt5Pn1-7DZLgBLktHwStsj81g@mail.gmail.com>
References: <CACCA4P2F3oXhxxUwKcRWDdC8AVt5Pn1-7DZLgBLktHwStsj81g@mail.gmail.com>
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgadmin-hackers>

On Mon, Apr 4, 2016 at 4:53 PM, Neel Patel <[email protected]>
wrote:

> Hi,
>
> Please find attached patch file which modified the earlier statusmessage
> implementation.
>
> *Previous implementation:- *
>
> statusmessage was implemented inside the poll function and if poll result
> row is greater than zero then statusmessage was replaced by the result row
> returned so if user wants the statusmessage along with returned rows then
> current implementation will not work.
>
> *Changes:-*
>
> Now "status_message()" function is implemented to get the status message
> returned by last command executed on the server and removed from the poll
> function.
> If user wants to status messages then they have to call "status_message()"
> which will return the status message text.
>
> Do review it and let us know for any comments.
>
Thanks - committed!

We still need to make it work with the synchronous connection.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company
<http://www.enterprisedb.com/;


*http://www.linkedin.com/in/asheshvashi*
<http://www.linkedin.com/in/asheshvashi;

>
> Thanks,
> Neel Patel
>
>
> --
> Sent via pgadmin-hackers mailing list ([email protected])
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>
>


view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: [pgAdmin4][psycopg2] - Modified status message implementation
  In-Reply-To: <CAG7mmozFpm3iJx4TkKpHJehSyesrndhBJE1F5f+4Hp7fG04JiQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox