Re: Regarding DDL in pgadmin - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Regarding DDL in pgadmin
Date
Msg-id CA+OCxowDGkRumAKUPGvokQi-=zrAd=DOFgnECXYE_-8XJEyTjA@mail.gmail.com
Whole thread Raw
In response to Regarding DDL in pgadmin  (Travis <himesh8chopra@gmail.com>)
List 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 by date:

Previous
From: Dave Page
Date:
Subject: Re: [pgAdmin4][Patch] - RM 4030 - IDENTITY column not recognised
Next
From: Usman Muzaffar
Date:
Subject: [pgAdmin] - RM-3936 -Feature tests patch