Re: Extension Developing Roadmap - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Extension Developing Roadmap
Date
Msg-id CA+OCxoyJWNO81ApSXfi=5otYT2tBPU21puDbLaBXe8urMn7JYw@mail.gmail.com
Whole thread Raw
In response to Re: Extension Developing Roadmap  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
Responses Re: Extension Developing Roadmap
List pgadmin-hackers


On Sun, Mar 10, 2019 at 12:20 PM Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:


On Sun, 10 Mar 2019, 11:45 Batuhan Osman Taşkaya, <batuhanosmantaskaya@gmail.com> wrote:
I am trying to add support for pgbackrest tool to pgadmin. I added a module local pgadmin repo but i couldn't figure out how to execute a command in the server and get the result of command back. How can i develop an extension that requires command execution in host server?
Please refer the backup module under '<pgadmin-src>/web/pgadmin/tools/' directory.

Right - there are existing examples of our external process management code, of which the existing backup module is a good example. Any external tools called from pgAdmin should use the same code as it provides monitoring, notifications and output display.

For something like pgBackrest though, I wonder if it should actually be made part of the existing backup/restore dialogues anyway. Unless there's a *really* good reason, I'd rather not have multiple backup.restore dialogues in the app.

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

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

pgadmin-hackers by date:

Previous
From: Khushboo Vashi
Date:
Subject: [pgAdmin4][Patch] - RM #4019 - Update all JS and Python dependenciesto the latest releases
Next
From: Ashesh Vashi
Date:
Subject: Re: Extension Developing Roadmap