Re: [pgadmin-hackers] Driver Module - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgadmin-hackers] Driver Module
Date
Msg-id CA+OCxoysm1Fw3axLN75Qy7d=1tFxMrQ142kREVLFTTOqqcmmTw@mail.gmail.com
Whole thread Raw
In response to [pgadmin-hackers] Driver Module  (George Gelashvili <ggelashvili@pivotal.io>)
Responses Re: [pgadmin-hackers] Driver Module  (George Gelashvili <ggelashvili@pivotal.io>)
List pgadmin-hackers
Hi

On Friday, January 6, 2017, George Gelashvili <ggelashvili@pivotal.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

pgadmin-hackers by date:

Previous
From: George Gelashvili
Date:
Subject: [pgadmin-hackers] Driver Module
Next
From: Dave Page
Date:
Subject: Re: [pgadmin-hackers] [pgAdmin4][Patch]: Fix RM1790 - [Web] Supportsetting a field's value to "null"