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

From: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin4][Patch]: RM1570 - Cannot select template databases when creating a database
Date: 2016-08-19 14:17:16
Message-ID: CAM5-9D_CU0SN5m=SbwbgYKkmQ0FvsgbJjJwhOdwrJhwAiwS_GA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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

Attachment Content-Type Size
RM1570.patch application/octet-stream 3.5 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-08-19 15:35:46 pgAdmin 4 commit: Allow template databases to be used when creating new
Previous Message Ashesh Vashi 2016-08-19 11:25:57 PATCH/s: RM#1387 - Bad handling of missing connection database server