Re: [pgAdmin4][Patch]: RM1570 - Cannot select template databases when creating a database

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]: RM1570 - Cannot select template databases when creating a database
Date: 2016-08-19 15:35:52
Message-ID: CA+OCxow99wUPgAWpVm8frV06WrYRwSnGBaM_1uYd6d25UDFP5A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks, applied.

On Fri, Aug 19, 2016 at 3:17 PM, Surinder Kumar
<surinder(dot)kumar(at)enterprisedb(dot)com> wrote:
> Hi
>
> Issue:
> We are using 'node-list-by-name' control to get list of db nodes using
> database 'nodes' method which filters out names based on 'show system
> objects' value.
>
> Solution:
> Override node-list-by-name transform method and define a new method
> 'get_databases' which fetches all nodes including template nodes.
>
> 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-08-19 16:02:16 Re: PATCH/s: RM#1387 - Bad handling of missing connection database server
Previous Message Dave Page 2016-08-19 15:35:46 pgAdmin 4 commit: Allow template databases to be used when creating new