I only need a few patches to work on GPDB6 with pgadmin4.
There are some uncritical Changes in Python-Code and additional SQL for GPDB6 in new directories.
Then there is a dirty patch because it may break something with other server_type than gpdb. This works for me but it is not a general solution.
It would be better to improve the way how sql_template_path ist set in "pgadmin4/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/utils.py"
and " pgadmin4/web/pgadmin/browser/server_groups/servers/databases/schemas/functions/__init__.py"
and "pgadmin4/web/pgadmin/browser/server_groups/servers/databases/schemas/__init__.py"
Someone who is familiar with this framework will find a better solution.
Without this patch i cannot display dependencies or dependents:
depends/gpdb/#90424#/dependents.sql
and functions:
ERROR: column "proiswin" does not exist
LINE 5: proiswin, provolatile, proisstrict, prosecdef,