Re: [pgAdmin4][Patch]: RM1595 - "no results to fetch error" displayed if modify definition with other table

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][Patch]: RM1595 - "no results to fetch error" displayed if modify definition with other table
Date: 2016-09-16 14:41:17
Message-ID: CA+OCxoyQxgBg413iGz7uCpr3-T+zPH3O_DG2tC2eg1WrNoGCMw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks, applied.

On Fri, Sep 16, 2016 at 11:14 AM, Surinder Kumar
<surinder(dot)kumar(at)enterprisedb(dot)com> wrote:
> Hi
>
> Issues fixed:
>
> 1) Creating a m-view with definition and then updating view with new
> definition, it results into an error "No results to fetch".
>
> 2) When definition of m-view is updated, it creates a new m-view with
> different OID, but it wasn't updating the old OID with new OID of tree node
> in tree view. thus on switching to another tab (e.g.: sql), it throws
> message "Cannot find materialized view".
>
> Please find attached patch and review.
>
> Thanks,
> Surinder Kumar
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers(at)postgresql(dot)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

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-09-16 15:06:33 pgAdmin 4 commit: Fix an issue where several default privileges cause e
Previous Message Dave Page 2016-09-16 14:41:09 pgAdmin 4 commit: Fix updating of matview definitions. Fixes #1595