Thread: Bug fixed in Asynchronous connection

Bug fixed in Asynchronous connection

From
Akshay Joshi
Date:
Hi All

During testing I have found one issue in Asynchronous connection logic,  we fetch column info only when there is some row return by the sql query, which is not correct, Column info should be fetch even if there is no data, so at least we can display the columns. Attached is the patch to fix this issue. 

Please review it and if it looks good please commit it.         

--
Akshay Joshi
Principal Software Engineer 


Phone: +91 20-3058-9517
Mobile: +91 976-788-8246
Attachment

Re: Bug fixed in Asynchronous connection

From
Dave Page
Date:
Thanks, committed.

On Tue, Mar 8, 2016 at 2:29 PM, Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi All

During testing I have found one issue in Asynchronous connection logic,  we fetch column info only when there is some row return by the sql query, which is not correct, Column info should be fetch even if there is no data, so at least we can display the columns. Attached is the patch to fix this issue. 

Please review it and if it looks good please commit it.         

--
Akshay Joshi
Principal Software Engineer 


Phone: +91 20-3058-9517
Mobile: +91 976-788-8246


--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers




--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company