Re: Regarding DDL in pgadmin

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Regarding DDL in pgadmin
Дата
Msg-id CA+OCxowDGkRumAKUPGvokQi-=zrAd=DOFgnECXYE_-8XJEyTjA@mail.gmail.com
обсуждение исходный текст
Ответ на Regarding DDL in pgadmin  (Travis <himesh8chopra@gmail.com>)
Список pgadmin-hackers
[please keep messages on-list]

On Thu, Mar 21, 2019 at 10:16 AM Travis <himesh8chopra@gmail.com> wrote:

Thanks a lot!

yeah rev eng sucks.

I'm currently going through the source code, can you kindly point me to the module where the rev engineering is already being done.?


Most of the heavy lifting will be done in __init__.py in https://git.postgresql.org/gitweb/?p=pgadmin4.git;a=tree;f=web/pgadmin/browser/server_groups/servers/databases/schemas/tables. The re-construction of the SQL is done using templates in the templates sub-directory. Start at the sql(self, gid, sid, did, scid, tid) function and work back from there.

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

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

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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: [pgAdmin4][Patch] - RM 4030 - IDENTITY column not recognised
Следующее
От: Usman Muzaffar
Дата:
Сообщение: [pgAdmin] - RM-3936 -Feature tests patch