public inbox for [email protected]  
help / color / mirror / Atom feed
From: Dave Page <[email protected]>
To: George Gelashvili <[email protected]>
Cc: [email protected] <[email protected]>
Cc: [email protected] <[email protected]>
Cc: Ashesh Vashi <[email protected]>
Subject: Re: Driver Module
Date: Sun, 8 Jan 2017 09:57:31 +0000
Message-ID: <CA+OCxoysm1Fw3axLN75Qy7d=1tFxMrQ142kREVLFTTOqqcmmTw@mail.gmail.com> (raw)
In-Reply-To: <CAHowoHbaKvtMXqDjFT_xQjqo3FFhVYb_nV1v1NR=HT0U+hTPmg@mail.gmail.com>
References: <CAHowoHbaKvtMXqDjFT_xQjqo3FFhVYb_nV1v1NR=HT0U+hTPmg@mail.gmail.com>
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgadmin-hackers>

Hi

On Friday, January 6, 2017, George Gelashvili <[email protected]>
wrote:

> Hi there,
>
> We are working on connecting Greenplum to pgAdmin4. Currently we are
> exploring how modules work in pgAdmin. In an earlier off-thread email it
> was suggested we look at "the EDB PPAS" as an example of a driver class. We
> are not entirely clear on what that means.
>
> We found:
> - the BaseDriver in web/pgadmin/utils/driver, documented:
> https://www.pgadmin.org/docs4/1.x/code_snippets.html?
> highlight=driver#basedriver
> - things that look EDB-related in web/pgadmin/utils/driver/
> psycopg2/__init__.py
>
> Is it a good idea to keep looking for EDB PPAS as an example of a driver?
> Does anyone know exactly where it lives?
>

I believe 99% of it is simply inherited from the base driver, and (some
of?) the rest of it is in web/pgadmin/browser/server_groups/servers/ppas.py.

Ashesh, can you help here? You know that code infinitely better than I do.

Thanks.


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

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


view thread (7+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Driver Module
  In-Reply-To: <CA+OCxoysm1Fw3axLN75Qy7d=1tFxMrQ142kREVLFTTOqqcmmTw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox