Is there a CLI for creating the object tree?

Поиск
Список
Период
Сортировка
От Tim Uckun
Тема Is there a CLI for creating the object tree?
Дата
Msg-id CAGuHJrNHEMo9Br0FqtMXborN6xyHyka_qLrG4C44m=yTZdctSA@mail.gmail.com
обсуждение исходный текст
Список pgadmin-hackers
Hi.

I want to write a tool for PG and I would like to recreate the object tree in pgadmin on the disk.  For example.

    db
       schemas
           public
              tables
                  some_table.sql
I looked at the source code and it seems like you guys read the definitions from the DB and then apply a template. This is great and I could rewrite all that in my own code but I was hoping it would be possible to avoid all that work.   Do you guys know of any type of CLI or a library that would help me accomplish this? I also thought of just calling out to pg_dump and then writing a parser for that file but again I would rather take a shortcut if one exists.

Thanks.

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Violet Cheng
Дата:
Сообщение: Re: [pgAdmin4][patch] update the alert style in the sub-navigation
Следующее
От: Sarah McAlear
Дата:
Сообщение: [pgadmin4][patch] Fix the style of the alert when connecting/disconnectingfrom a server