Re: Driver Module

From: Dave Page <dpage(at)pgadmin(dot)org>
To: George Gelashvili <ggelashvili(at)pivotal(dot)io>
Cc: "pgadmin-hackers(at)postgresql(dot)org" <pgadmin-hackers(at)postgresql(dot)org>, "plumadmin(at)pivotal(dot)io" <plumadmin(at)pivotal(dot)io>, Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
Subject: Re: Driver Module
Date: 2017-01-08 09:57:31
Message-ID: CA+OCxoysm1Fw3axLN75Qy7d=1tFxMrQ142kREVLFTTOqqcmmTw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

On Friday, January 6, 2017, George Gelashvili <ggelashvili(at)pivotal(dot)io>
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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-01-08 09:57:32 Re: [pgAdmin4][Patch]: Fix RM1790 - [Web] Support setting a field's value to "null"
Previous Message George Gelashvili 2017-01-06 19:07:57 Driver Module