Re: [pgadmin4] Creating a new Node in ACI Tree
От | Joao De Almeida Pereira |
---|---|
Тема | Re: [pgadmin4] Creating a new Node in ACI Tree |
Дата | |
Msg-id | CAE+jjakv0Q2MEXH8qX20_uB39M2bMBHz_0SwkL5yorVZjVrawg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [pgadmin4] Creating a new Node in ACI Tree (Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com>) |
Ответы |
Re: [pgadmin4] Creating a new Node in ACI Tree
|
Список | pgadmin-hackers |
Hello Murtuza,
Do we have to have that present in python in order for it to work in the javascript?
I am asking this because we didn't saw any request to the backend trying to fetch this information.
Thanks
Joao
On Fri, Feb 23, 2018 at 11:12 AM Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
Hi Joao,Just like 'nodes' & 'children' operation, You have to implement several other methods,'obj' - To create, update, delete & properties for External TablesRef: ../foreign_tables/__init__.py: 193Which will call associated methods, def create(..), def update(...), def delete(...) & def properties(...)'sql' - Displays reversed engineered sql on SQL panelWhich will call to method def sql(...) method'msql' - Displays reversed engineered sql on Create/Properties dialogWhich will call to method def msql(...) method'stats' -Displays object statistics sql on Statistics panelWhich will call to method def statistics(...) method'dependency' - Displays object dependencies on Dependencies panelWhich will call to method def dependencies(...) method'dependent' - Displays object dependents on SQL panelWhich will call to method def dependents(...) methodHope that helps.--Regards,On Fri, Feb 23, 2018 at 9:08 PM, Joao De Almeida Pereira <jdealmeidapereira@pivotal.io> wrote:Hello Hackers,Need some pointers while creating new node on ACI Tree.In GreenPlum there is a concept of External Tables that are more or less similar to Foreign Wrappers, but different. So we started implementing a new node for it.We copied the Foreign Wrappers node and started it playing with it. The current status:We can see the External Tables node, when we open it we see the External Tables.The problem that we are facing now is when we select a table and then press the tabs 'SQL' or Properties nothing happens. What do we need to do in order for this to work?Maybe the choice of foreign Wrappers was not the best to start off, but we would appreciate some help to make this work.Attached you can find the code that I currently have.ThanksJoao
В списке pgadmin-hackers по дате отправления: